User Tools

Site Tools


code:data:sql

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
code:data:sql [2011/01/26 18:50] – created jmgrcode:data:sql [2011/04/20 20:33] (current) – removed jmgr
Line 1: Line 1:
-====== Sql ====== 
-This object allows you to establish a connection to a SQL database like MySQL, PostgreSQL, SQLite and others. 
  
-===== Functions ===== 
- 
-==== Sql ==== 
-Constructor function. 
- 
-=== Syntax === 
-<code javascript> 
-var myObject = new Sql(driver); 
-</code> 
- 
-=== Arguments === 
-  - driver - ([[#driver|Driver]]) the database driver to use 
- 
-=== Exceptions === 
-  * (NoDatabaseDriverError) no database driver specified 
- 
-=== Example === 
-Create a Sql object operating on a MySQL database. 
-<code javascript> 
-var myObject = new Sql(Sql.MySQL); 
-</code> 
code/data/sql.1296067826.txt.gz · Last modified: 2021/02/13 11:23 (external edit)