Property | Type | Description | |
---|---|---|---|
$dbdriver | string | Database driver | |
$scrollable | mixed | Determines what cursor type to use when executing queries. FALSE or SQLSRV_CURSOR_FORWARD would increase performance, but would disable num_rows() (and possibly insert_id()) |
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 $pooling = FALSE ) : resource | 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 | |
version ( ) : string | Database version number |
Method | Description | |
---|---|---|
_close ( ) : void | Close DB Connection | |
_delete ( string $table ) : string | Delete statement | |
_execute ( string $sql ) : resource | 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 ( $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 |
public __construct ( array $params ) : void | ||
$params | array | |
return | void |
protected _list_columns ( string $table = '' ) : string | ||
$table | string | |
return | string |
protected _list_tables ( $prefix_limit = FALSE ) : string | ||
return | string | $prefix_limit |
protected _trans_begin ( ) : boolean | ||
return | boolean |
protected _trans_commit ( ) : boolean | ||
return | boolean |
protected _trans_rollback ( ) : boolean | ||
return | boolean |
public db_connect ( boolean $pooling = FALSE ) : resource | ||
$pooling | 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 |
public mixed $scrollable | ||
return | mixed |