use "io/sql";
Provides a connection to a SQL database. It is highly recommended to use the SQL token processor.
Subclasses: SQLiteDatabase, PostgreSQLConnection
SQL_TYPE_UNKNOWN
SQL_TYPE_INTEGER
SQL_TYPE_LONG
SQL_TYPE_FLOAT
SQL_TYPE_DOUBLE
SQL_TYPE_STRING
SQL_TYPE_BINARY
static function create(): SQLConnection
function close()
function begin()
function commit()
function rollback()
function in_transaction(): Boolean
function query(query: String or ParamString, ...): ResultSet
function update(query: String or ParamString, ...)
Integer
, Long
, Float
,
Double
, String
and Byte[]
.
function int_query(query: String or ParamString, ...): Integer
function long_query(query: String or ParamString, ...): Long
function float_query(query: String or ParamString, ...): Float
function double_query(query: String or ParamString, ...): Double
function string_query(query: String or ParamString, ...): String
function binary_query(query: String or ParamString, ...): Byte[]
function row_query(query: String or ParamString, ...): ResultSet
function last_insert_id(): Long
static function create(): SQLConnection
virtual function close()
virtual function begin()
virtual function commit()
virtual function rollback()
virtual function in_transaction(): Boolean
virtual function query(query: String, sig: String, params: Dynamic[]): ResultSet
virtual function update(query: String, sig: String, params: Dynamic[])
virtual function last_insert_id(): Long
i
- integerl
- longf
- floatd
- doubles
- stringb
- binary