Posts by Joao Barbosa • 366 points
16 posts
-
2
votes2
answers109
viewsA: CONSULT DATA FROM A FOREIGN KEY TABLE
I believe that this consultation should resolve: select c.nome as 'cliente', p.nome as 'produto' from clientes c join vendas v on v.idcliente = c.idcliente join produtos p on p.idproduto =…
-
-1
votes1
answer39
viewsQ: Catch Return of Async Function in External File
I have 2 files in both async use / await and return a promisse. So far so good. But my question is what to call them in Controller. I’m managing to return all recipes, however, I’m not able to add…
-
0
votes1
answer46
viewsQ: Subroutes in Node JS
I have the following doubt. I have two GET routes, and the second route, whenever I try to access, the browser understands as if I were informing the parameter :id and creates an error.…
-
-1
votes1
answer152
viewsQ: Callback in anonymous function returns Undefined
I need to create two functions. One of them where I will make a request in Javascript to pick up a Bearer Token, and the second, I will use the token to call another function. However, I’m not…
-
0
votes2
answers96
viewsA: Form sending NULL to PHP?
Forgot to put the echo and uses single quotes. Put your code like this: <form name="alterar" action="alterar.php" method="POST"> <input type="text" name="id" value="<?php echo…
phpanswered Joao Barbosa 366 -
1
votes1
answer166
viewsQ: Ignore column alignment in flutter
I’m trying to put a column inside another column, but I wonder if there’s any way to ignore the first alignment, as in the code below: class Login extends StatelessWidget { @override Widget…
-
3
votes1
answer1163
viewsQ: Navigation with named routes
I am trying to create some routes named in flutter. When clicking on a floating button, I should direct myself to a screen called new_flight.Dart however, I am seeing an exception: I/flutter (…
-
0
votes2
answers278
viewsA: CHANGE PATH WINDOWS 7
You can separate the PATH values using a ; Would look like this: C:\Users\user\AppData\Roaming\npm;C:\src\flutter\bin Remembering only to make sure that the flutter is in this directory src If you…
-
1
votes2
answers4738
viewsA: Flutter, how to compile the project to run native on android
Just run on the command line flutter run --release As for Android Studio, a good alternative that people have adopted for a long time is to use Microsoft’s Visual Studio Code. Simple to use,…
-
5
votes1
answer2535
viewsQ: How to keep Appbar and Bottomnavigationbar between pages
I’d like some help from you guys on an app in Flutter. I’m creating the routes named to navigate between the App pages. However, I was unable to maintain Appbar and Bottomnavigationbar during…
flutterasked Joao Barbosa 366 -
1
votes2
answers1593
viewsA: Problem when installing Flutter
How Voce did the flutter installation? Make sure your version is up to date. Use the command flutter upgrade to get the latest stable version. If necessary, remove the installation already done and…
-
0
votes2
answers52
viewsA: Does SQL Educational SERVER have fewer resources?
There is no "educational" version of SQL Server. There are some free versions, such as Express Edition and Developer Edition, which can be used for educational purposes. And to answer the question,…
-
3
votes2
answers116
viewsA: Command to update multiple tables in the database
There really isn’t a way to do everything in a single update. Depending on the frequency at which you need to do this, an output would be to create a precedent that receives the parameter to be…
-
1
votes6
answers6000
viewsA: How to get the column properties of a table?
Besides these forms mentioned above, there is another very simple way. Just select the table name in the SSMS Editor (SQL Server Management Studio) and press ALT + F1. This will allow you to see the…
-
1
votes3
answers12428
viewsA: What’s the difference between Cast and Convert?
Both have the same purpose. The only difference is that CAST is more aligned to the ISO standard, while CONVERT is more aligned to T-SQL. Can be used this way: SELECT 9.5 AS Original, CAST(9.5 AS…
-
6
votes6
answers24661
viewsA: What is the difference between declaring variables using Let and var?
Creating a variable with Let, it will exist only in the scope in question. Use with the var, the variable is accessible in the rest of the code. For example: lista = [1,2,3,4,5,6,7,8,9]; for(let a…