sql.js API documentation
Introduction
If you need a quick intoduction with code samples that you can copy-and-paste, head over to sql.js.org
API
The initSqlJs function
The root object in the API is the initSqlJs
function, that takes an SqlJsConfig
parameter, and returns an SqlJs object
The SqlJs object
initSqlJs
returns the main sql.js object, the SqlJs
module, which contains :
Database
Database is the main class, that represents an SQLite database.
Statement
The Statement class is used for prepared statements.