Posts by Gil Sousa • 111 points
6 posts
-
0
votes2
answers72
viewsA: Mongoose’s Findone method is running in infinite loop
It is considered a good practice to have Try catch when using async await. What is happening is that very likely the method findOne is launching an Exception that is not being resolved. Try the…
-
0
votes1
answer44
viewsA: Where is the error log file in symfony?
The error log goes to "/var/log"
-
0
votes1
answer56
views -
0
votes1
answer19
viewsA: Use Doctrine createQueryBuilder with tablets that have no entity
It is possible to perform a query with Doctrine createQueryBuilder using a table that does not have a declared entity (Entity)? Yes it is possible if you use DBAL.…
-
0
votes1
answer20
viewsA: How to use two API in Developer in Appweb Flask
Before passing the data to render_template you need to concatenate the two answers ("Expert" and "TS1"). However this solution is not scalable because then when to add a third, it will be necessary…
-
1
votes2
answers231
viewsA: Searching array value within another array and return
ES6 introduces "for-in". It allows going through the index’s of an array. function exemplo() { let linha = ''; const coresLinhasPorPocsag = ["#4d79ff", "#ff6600", "#00cc88", "#b31aff"]; const arr =…
javascriptanswered Gil Sousa 111