|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| ADODB_sqlite3 () | |
| ServerInfo () | |
| BeginTrans () | |
| CommitTrans ($ok=true) | |
| RollbackTrans () | |
| MetaColumns ($table, $normalize=true) | |
| _init ($parentDriver) | |
| _insertid () | |
| _affectedrows () | |
| ErrorMsg () | |
| ErrorNo () | |
| SQLDate ($fmt, $col=false) | |
| _createFunctions () | |
| _connect ($argHostname, $argUsername, $argPassword, $argDatabasename) | |
| _pconnect ($argHostname, $argUsername, $argPassword, $argDatabasename) | |
| _query ($sql, $inputarr=false) | |
| SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0) | |
| GenID ($seq='adodbseq', $start=1) | |
| CreateSequence ($seqname='adodbseq', $start=1) | |
| DropSequence ($seqname) | |
| _close () | |
| MetaIndexes ($table, $primary=FALSE, $owner=false, $owner=false) | |
Data Fields | |
| $databaseType = "sqlite3" | |
| $replaceQuote = "''" | |
| $concat_operator = '||' | |
| $_errorNo = 0 | |
| $hasLimit = true | |
| $hasInsertID = true | |
| $hasAffectedRows = true | |
| supports autoincrement ID? | |
| $metaTablesSQL = "SELECT name FROM sqlite_master WHERE type='table' ORDER BY name" | |
| supports affected rows for update/delete? | |
| $sysDate = "adodb_date('Y-m-d')" | |
| $sysTimeStamp = "adodb_date('Y-m-d H:i:s')" | |
| $fmtTimeStamp = "'Y-m-d H:i:s'" | |
| $_genSeqSQL = "create table %s (id integer)" | |
| $_dropSeqSQL = 'drop table %s' | |
Definition at line 22 of file adodb-sqlite3.inc.php.
| _affectedrows | ( | ) |
Definition at line 135 of file adodb-sqlite3.inc.php.
| _close | ( | ) |
Definition at line 278 of file adodb-sqlite3.inc.php.
| _connect | ( | $ | argHostname, |
| $ | argUsername, | ||
| $ | argPassword, | ||
| $ | argDatabasename | ||
| ) |
| _createFunctions | ( | ) |
| _init | ( | $ | parentDriver | ) |
Definition at line 121 of file adodb-sqlite3.inc.php.
| _insertid | ( | ) |
Definition at line 128 of file adodb-sqlite3.inc.php.
| _pconnect | ( | $ | argHostname, |
| $ | argUsername, | ||
| $ | argPassword, | ||
| $ | argDatabasename | ||
| ) |
| _query | ( | $ | sql, |
| $ | inputarr = false |
||
| ) |
Definition at line 200 of file adodb-sqlite3.inc.php.
| ADODB_sqlite3 | ( | ) |
Definition at line 37 of file adodb-sqlite3.inc.php.
| BeginTrans | ( | ) |
Definition at line 58 of file adodb-sqlite3.inc.php.
| CommitTrans | ( | $ | ok = true | ) |
| CreateSequence | ( | $ | seqname = 'adodbseq', |
| $ | start = 1 |
||
| ) |
Definition at line 261 of file adodb-sqlite3.inc.php.
| DropSequence | ( | $ | seqname | ) |
Definition at line 271 of file adodb-sqlite3.inc.php.
| ErrorMsg | ( | ) |
Definition at line 140 of file adodb-sqlite3.inc.php.
| ErrorNo | ( | ) |
Definition at line 147 of file adodb-sqlite3.inc.php.
| GenID | ( | $ | seq = 'adodbseq', |
| $ | start = 1 |
||
| ) |
Definition at line 232 of file adodb-sqlite3.inc.php.
| MetaColumns | ( | $ | table, |
| $ | normalize = true |
||
| ) |
Definition at line 84 of file adodb-sqlite3.inc.php.
| MetaIndexes | ( | $ | table, |
| $ | primary = FALSE, |
||
| $ | owner = false, |
||
| $ | owner = false |
||
| ) |
There must be a more elegant way of doing this, the index elements appear in the SQL statement in cols[1] between parentheses e.g CREATE UNIQUE INDEX ware_0 ON warehouse (org,warehouse)
Definition at line 284 of file adodb-sqlite3.inc.php.
| RollbackTrans | ( | ) |
| SelectLimit | ( | $ | sql, |
| $ | nrows = -1, |
||
| $ | offset = -1, |
||
| $ | inputarr = false, |
||
| $ | secs2cache = 0 |
||
| ) |
Definition at line 212 of file adodb-sqlite3.inc.php.
| ServerInfo | ( | ) |
Definition at line 50 of file adodb-sqlite3.inc.php.
| SQLDate | ( | $ | fmt, |
| $ | col = false |
||
| ) |
Definition at line 152 of file adodb-sqlite3.inc.php.
Definition at line 270 of file adodb-sqlite3.inc.php.
| $_errorNo = 0 |
Definition at line 27 of file adodb-sqlite3.inc.php.
Definition at line 230 of file adodb-sqlite3.inc.php.
| $concat_operator = '||' |
Definition at line 26 of file adodb-sqlite3.inc.php.
| $databaseType = "sqlite3" |
Definition at line 24 of file adodb-sqlite3.inc.php.
| $fmtTimeStamp = "'Y-m-d H:i:s'" |
Definition at line 34 of file adodb-sqlite3.inc.php.
| $hasAffectedRows = true |
supports autoincrement ID?
Definition at line 30 of file adodb-sqlite3.inc.php.
| $hasInsertID = true |
Definition at line 29 of file adodb-sqlite3.inc.php.
| $hasLimit = true |
Definition at line 28 of file adodb-sqlite3.inc.php.
supports affected rows for update/delete?
Definition at line 31 of file adodb-sqlite3.inc.php.
| $replaceQuote = "''" |
Definition at line 25 of file adodb-sqlite3.inc.php.
| $sysDate = "adodb_date('Y-m-d')" |
Definition at line 32 of file adodb-sqlite3.inc.php.
| $sysTimeStamp = "adodb_date('Y-m-d H:i:s')" |
Definition at line 33 of file adodb-sqlite3.inc.php.