You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line From StackOverFlow users and Its Correct working..
Since you want to use async/await, and the node-sqlite3 (sqlite3) library does not support the Promise API, you need to use the node-sqlite (sqlite) library, which is a wrapper over sqlite3 and adds support for the Promise API.
I install SQLite and get
Goal : I am trying Build accessing DB with raw Query and Goal is to MVC & Not used ORM
Issue : Write an Raw Quer to getting Data from SQLite3 Database But Issue I get but response is {} empty and After Some time get data in console.log
Get Request , End Point : api/v1/emp/all
db_getAll() is Function Using In Model Section , That get Data from DB
Its give Data but await is not working here...
Console Output
The text was updated successfully, but these errors were encountered: