Posts by Felipe Uchoa • 1 point
3 posts
-
-2
votes2
answers27
viewsA: SQL command works on SQL SHELL, but does not work on Node (pg) (probably something related to accentuation)
After I installed on the server this problem stopped happening.
-
-1
votes2
answers39
viewsA: Change value of FALSE TRUE column
Just follow this scheme: UPDATE table_name SET column1 = value1, column2 = value2, ... WHERE condition; In your case: Update Produto SET Permite_venda = 'true' WHERE id = <id do produto>…
-
-2
votes2
answers27
viewsQ: SQL command works on SQL SHELL, but does not work on Node (pg) (probably something related to accentuation)
DATABASE I have this database: In it I have this table: In it I have this data: NODE const express = require('express'); const app = express(); const cors = require('cors'); // cors config //…