A simple SQLITE/SQLITE3 Wrapper for People who are new To Coding and maybe Experienced ones to make SQLITE Easier and to Handle Databases Easier!
Usage
Note: The module must be Installed first, before use.
Parameter | Type | Optional | Default | Description |
---|---|---|---|---|
options | Object | ✓ | none | Options for the Database Name and File Name |
options.name | String | ✓ | 'database' | Sets the Database Name and File Name |
options.arrname | String | ✓ | 'database_array' | Sets the Database Array Name and Array File Name |
options.objname | String | ✓ | 'database_object' | Sets the Database Object Name and Object File Name |
open
const EasySqlite = ; // Require the Packageconst db = ; // Make a new Constructor with options db;
updateText
const EasySqlite = ; // Require the Packageconst db = ; // Make a new Constructor with options db;
updateValue
const EasySqlite = ; // Require the Packageconst db = ; // Make a new Constructor with options db;
fetchArray
const EasySqlite = ; // Require the Packageconst db = ; // Make a new Constructor with options db;
setArray
const EasySqlite = ; // Require the Packageconst db = ; // Make a new Constructor with options db;
fetchObject
const EasySqlite = ; // Require the Packageconst db = ; // Make a new Constructor with options db;
setObject
const EasySqlite = ; // Require the Packageconst db = ; // Make a new Constructor with options db;
What's New in 1.3.3?
- We have added a workaround for the manual
JSON.parse()
at your code - Instead of null on empty object at
fetchObject()
it will just return an empty object - Fixed where, when you add the File Name options, it doesn't set it
- New Owner,
kevlarfromdiscord
Have any Problems?
Join Here for us to resolve your Problems!