Posts by Bruno Henrique • 39 points
6 posts
-
1
votes0
answers65
viewsQ: Syntaxerror: JSON.parse: Unexpected Character at line 1 column 1 of the JSON data - Nodejs vueJS
I am using an application with vuejs and Node, and I need to get information through a . json, but when making the request I get the following error: Syntaxerror: JSON.parse: Unexpected Character at…
-
1
votes1
answer1228
viewsQ: How do I put Axios.get back into a variable?
I made an access to the database and with Axios.get I got the return but I need to store this return in a variable so I can use it further, but when I tried to get it as a result: Promise { :…
-
1
votes1
answer298
viewsQ: How to return the value of a query to the database in another javascript file?
I’m making an application where I need to query a database and return the value to another javascript file, only for some reason it’s not exporting anything to the other file when doing…
-
-2
votes3
answers43
viewsQ: How to Cast Another Class in PHP
good afternoon, I am starting now to develop in POO in PHP, and I came across a problem, I need to make a variable of one class is the type of other, how can I do? Below is the model, I’m trying to…
-
0
votes2
answers766
viewsA: 2 Foreign keys in the same key
Apparently the error was solved, I used a Constraint only for the two FK CONSTRAINT fk_voo_aeroporto FOREIGN KEY(cod_aeroporto_origem) REFERENCES aeroporto(cod_aeroporto), FOREIGN…
-
0
votes2
answers766
viewsQ: 2 Foreign keys in the same key
good afternoon! I am doing a Database exercise and came across a problem. I am registering a BD of an airline company. In one of the tables called flight need to register the code of an airport of…