Property | Type | Description | |
---|---|---|---|
$dbdriver | string | Database driver |
Property | Type | Description | |
---|---|---|---|
$_quoted_identifier | boolean | Whether to use SQL-92 standard quoted identifier (double quotes) or brackets for identifier escaping. | |
$_random_keyword | array | ORDER BY random keyword |
Method | Description | |
---|---|---|
__construct ( array $params ) : void | Class constructor | |
affected_rows ( ) : integer | Affected Rows | |
db_connect ( boolean $persistent = FALSE ) : resource | Non-persistent database connection | |
db_select ( string $database = '' ) : boolean | Select the database | |
error ( ) : array | Error | |
field_data ( string $table ) : array | Returns an object with field data | |
insert_id ( ) : string | Insert ID |
Method | Description | |
---|---|---|
_close ( ) : void | Close DB Connection | |
_db_set_charset ( string $charset ) : boolean | Set client character set | |
_delete ( string $table ) : string | Delete statement | |
_execute ( string $sql ) : mixed | Execute the query | |
_insert_batch ( string $table, array $keys, array $values ) : string | boolean | Insert batch statement | |
_limit ( string $sql ) : string | LIMIT | |
_list_columns ( string $table = '' ) : string | List column query | |
_list_tables ( boolean $prefix_limit = FALSE ) : string | List table query | |
_trans_begin ( ) : boolean | Begin Transaction | |
_trans_commit ( ) : boolean | Commit Transaction | |
_trans_rollback ( ) : boolean | Rollback Transaction | |
_truncate ( string $table ) : string | Truncate statement | |
_update ( string $table, array $values ) : string | Update statement | |
_version ( ) : string | Version number query string |
public __construct ( array $params ) : void | ||
$params | array | |
return | void |
protected _db_set_charset ( string $charset ) : boolean | ||
$charset | string | |
return | boolean |
protected _list_columns ( string $table = '' ) : string | ||
$table | 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 ) : resource | ||
$persistent | boolean | |
return | resource |
public field_data ( string $table ) : array | ||
$table | string | |
return | array |
protected bool $_quoted_identifier | ||
return | boolean |
protected array $_random_keyword | ||
return | array |