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
This library supplies a promisified of node-sqlite3's Database class. However, it does not do anything about the Statement class.
The Statement class supplies an API that allows the user to supply parameters to their queries. This is better than the API that is supplied by the Database class as it allows the user to avoid SQL injection vulnerabilities (TryGhost/node-sqlite3/issues/57). By not extending this class, your library is discouraging its use and encouraging bad practices.
The text was updated successfully, but these errors were encountered:
This library supplies a promisified of node-sqlite3's Database class. However, it does not do anything about the Statement class.
The Statement class supplies an API that allows the user to supply parameters to their queries. This is better than the API that is supplied by the Database class as it allows the user to avoid SQL injection vulnerabilities (TryGhost/node-sqlite3/issues/57). By not extending this class, your library is discouraging its use and encouraging bad practices.
The text was updated successfully, but these errors were encountered: