Answers for "db.execute vs db.query"

SQL
0

difference between db.query and db.execute

With .query(), parameter substitution is handled on the client,
including objects which let data = req.body is in the above examples.

With .execute() prepared statement parameters are sent from the client
as a serialized string and handled by the server. Since let data = req.body
is an object, that's not going to work.
Posted by: Guest on March-02-2020

Code answers related to "db.execute vs db.query"

Code answers related to "SQL"

Browse Popular Code Answers by Language