+ 1
How do you use sql in javascript?
How are you supposed to use SQL in javascript? I know it can be done, but how?
6 Réponses
0
Try rest api, and ajax. It'll fulfil your needs
+ 2
Taste I am pretty sute that it can be done. stackoverflow.com/questions/45302570/sql-transactions-in-javascript
I just don't know how to do it all.
+ 1
Not in client-side, but in serverside like nodejs yes its possible by installing the reqired package for the dbms
+ 1
Yes it can be, but are you sure that you'll store your username and password to access the database at client side ?
its better to wrap db stuff at server side and provide an interface so client side can use it.
+ 1
Thanks Taste
I am trying to find something that will be able to read a SQL table without reloading the page.
+ 1
Thanks a lot Taste 👍👍☺☺😁