When connecting to a SQL database in Node.js, the ______ method is commonly used to execute SQL queries.

  • query()
  • execSQL()
  • runQuery()
  • execute()
When connecting to a SQL database in Node.js, the query() method is commonly used to execute SQL queries. This method is provided by most SQL database libraries for Node.js and allows you to send SQL queries to the database. Options 2, 3, and 4 are not standard methods for executing SQL queries in Node.js.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *