code:data:sql
This is an old revision of the document!
Sql
This object allows you to establish a connection to a SQL database like MySQL, PostgreSQL, SQLite and others.
Functions
Sql
Constructor function.
Syntax
var myObject = new Sql(driver);
Arguments
- driver - (Driver) the database driver to use
Exceptions
- (NoDatabaseDriverError) no database driver specified
Example
Create a Sql object operating on a MySQL database.
var myObject = new Sql(Sql.MySQL);
code/data/sql.1296067826.txt.gz · Last modified: 2021/02/13 11:23 (external edit)