Modules
ADT Database GTK2 GUI IP PiJAX Public Sql Stdio Subversion System Tools Xosd lua v4l2 wx
Recent Changes
Public.Parser.XML2 1.50
Public.ZeroMQ 1.1
Public.Template.Mustache 1.0
Public.Protocols.XMPP 1.4
Sql.Provider.jdbc 1.0
Popular Downloads
Public.Parser.JSON2 1.0
Public.Parser.JSON 0.2
GTK2 2.23
Public.Web.FCGI 1.8
Public.Parser.XML2 1.48
|
Pike Module Reference: module version 1.8, prepared
MODULE Sql.Provider |
Modules SQLite
|
|
MODULE Sql.Provider.SQLite |
Classes SQLite
Methods changes() create() interrupt() last_insert_rowid() query() version()
|
-
Method create
void Sql.Provider.SQLite.create(string path)
- Description
Creates a new SQLite object
- Parameter path
sets the filename that SQLite will use as its datafile.
-
Method last_insert_rowid
int Sql.Provider.SQLite.last_insert_rowid()
- Description
Returns the last inserted rowid
- Returns
the unique id of the last inserted row
-
Method changes
int Sql.Provider.SQLite.changes()
- Description
Returns the number of changed rows since the database was quiesced or commited.
- Returns
the number of rows changed since the last commit.
-
Method interrupt
void Sql.Provider.SQLite.interrupt()
- Description
interrupts the query in progress. may be called from a different thread or the signal handler.
-
Method version
string Sql.Provider.SQLite.version()
- Description
returns the version of the database engine.
-
Method query
array(mapping) Sql.Provider.SQLite.query(string query)
- Description
executes the query query
throws an error if the query was unsuccessful in any way.
- Returns
1 on success if the query returns no rows (like INSERT, etc), or
an array of mappings, one element in the array for each row. each row is
represented by a mapping, with keys of the column names.
|
CLASS Sql.Provider.SQLite.SQLite |
|
- Description
an interface to the SQLite SQL Database Library (www.sqlite.org)
-
Inherit SQLite
.___SQLite.SQLite
|
|