Property | Type | Description | |
---|---|---|---|
$dbdriver | string | Database driver |
Property | Type | Description | |
---|---|---|---|
$_random_keyword | array | ORDER BY random keyword |
Method | Description | |
---|---|---|
affected_rows ( ) : integer | Affected Rows | |
db_connect ( boolean $persistent = FALSE ) : SQLite3 | Non-persistent database connection | |
error ( ) : array | Error | |
field_data ( string $table ) : array | Returns an object with field data | |
insert_id ( ) : integer | Insert ID | |
list_fields ( string $table ) : array | Fetch Field Names | |
version ( ) : string | Database version number |
Method | Description | |
---|---|---|
_close ( ) : void | Close DB Connection | |
_escape_str ( $str ) : string | Platform-dependant string escape | |
_execute ( string $sql ) : mixed | Execute the query | |
_list_tables ( boolean $prefix_limit = FALSE ) : string | Show table query | |
_replace ( string $table, array $keys, array $values ) : string | Replace statement | |
_trans_begin ( ) : boolean | Begin Transaction | |
_trans_commit ( ) : boolean | Commit Transaction | |
_trans_rollback ( ) : boolean | Rollback Transaction | |
_truncate ( string $table ) : string | Truncate statement |
protected _escape_str ( $str ) : string | ||
return | string |
protected _list_tables ( boolean $prefix_limit = FALSE ) : string | ||
$prefix_limit | boolean | |
return | string |
protected _trans_begin ( ) : boolean | ||
return | boolean |
protected _trans_commit ( ) : boolean | ||
return | boolean |
protected _trans_rollback ( ) : boolean | ||
return | boolean |
public db_connect ( boolean $persistent = FALSE ) : SQLite3 | ||
$persistent | boolean | |
return | SQLite3 |
public field_data ( string $table ) : array | ||
$table | string | |
return | array |
public list_fields ( string $table ) : array | ||
$table | string | Table name |
return | array |
protected array $_random_keyword | ||
return | array |