Posts by augusto francisco • 49 points
5 posts
-
0
votes1
answer116
viewsQ: First value in a map function in javascript
I have a function map Javascript where I return all the photos of a certain record. Among these photos, one of them has to receive a text, which in my case is Main photo, which will always be the…
-
0
votes1
answer4227
viewsQ: Create an array list in the flutter
I have two pages. On the first page I want to return a list. I want to insert in this list the values that come from the second page. So the flow is more or less the following: I enter the second…
-
1
votes2
answers314
viewsA: Conditional with async in flutter
The solution I found was this one. I want to thank everyone who put here their collaboration. class _MyAppState extends State<MyApp> { @override void initState() { super.initState();…
-
1
votes2
answers314
viewsQ: Conditional with async in flutter
I have the following function, which returns me either "FREE" or "PREMIUM". The return of the database works perfectly. Here is the code. userInfoConst() async { try { var uid = await…
-
0
votes1
answer177
viewsQ: Aggregate array of two or more collections in mongodb
Hello, I have two Collections and want to query the two Collections, like the sql "Join". The relation between the Collections is made as follows: medico: [{ medicoId: { type:…