1.0.3 • Published 4 years ago
bob_sqlite3 v1.0.3
Bob's Sqlite3 Class
For personal use.
Import
npm i bob_sqlite3
const SQLite = require("bob_sqlite3");
Syntax
Constructor
const database = new SQLite("URL To SQLite Database");
Methods
async function methods() {
await database.insert("SQL QUERY");
//Returns "Completed" when finished, otherwise returns the error as a String
await database.selectMultiple("SQL QUERY");
//Returns an Array of Objects, otherwise returns the error as a String
await database.select("SQL QUERY");
//Returns an Object, otherwise returns the error as a String
}