Property | Type | Description | |
---|---|---|---|
$schema | string | Database schema | |
$subdriver | string | Sub-driver |
Property | Type | Description | |
---|---|---|---|
$_random_keyword | array | ORDER BY random keyword |
Method | Description | |
---|---|---|
__construct ( array $params ) : void | Class constructor | |
db_connect ( boolean $persistent = FALSE ) : object | Database connection | |
escape ( string $str ) : mixed | "Smart" Escape String | |
field_data ( string $table ) : array | Returns an object with field data | |
insert_id ( string $name = NULL ) : integer | Insert ID | |
is_write_type ( $sql ) : boolean | Determines if a query is a "write" type. | |
order_by ( string $orderby, string $direction = '', boolean $escape = NULL ) : object | ORDER BY |
Method | Description | |
---|---|---|
_delete ( string $table ) : string | Delete statement | |
_limit ( string $sql ) : string | LIMIT | |
_list_columns ( string $table = '' ) : string | List column query | |
_list_tables ( boolean $prefix_limit = FALSE ) : string | Show table query | |
_update ( string $table, array $values ) : string | Update statement | |
_update_batch ( string $table, array $values, string $index ) : string | Update_Batch statement |
public __construct ( array $params ) : void | ||
$params | array | |
return | void |
protected _list_columns ( string $table = '' ) : string | ||
$table | string | |
return | string |
protected _list_tables ( boolean $prefix_limit = FALSE ) : string | ||
$prefix_limit | boolean | |
return | string |
public db_connect ( boolean $persistent = FALSE ) : object | ||
$persistent | boolean | |
return | object |
public field_data ( string $table ) : array | ||
$table | string | |
return | array |
public is_write_type ( $sql ) : boolean | ||
return | boolean |
protected array $_random_keyword | ||
return | array |