Свойство | Тип | Описание | |
---|---|---|---|
$commit_mode | integer | Commit mode flag | |
$curs_id | resource | Cursor ID | |
$dbdriver | string | Database driver | |
$limit_used | boolean | If we use LIMIT, we'll add a field that will throw off num_fields later. | |
$stmt_id | resource | Statement ID |
Свойство | Тип | Описание | |
---|---|---|---|
$_count_string | string | COUNT string | |
$_random_keyword | array | ORDER BY random keyword | |
$_reserved_identifiers | string[] | Identifiers that must NOT be escaped. | |
$_reset_stmt_id | Used by stored_procedure() to prevent _execute() from re-setting the statement ID. |
Метод | Описание | |
---|---|---|
__construct ( array $params ) : void | Class constructor | |
affected_rows ( ) : integer | Affected Rows | |
db_connect ( boolean $persistent = FALSE ) : resource | Non-persistent database connection | |
error ( ) : array | Error | |
field_data ( string $table ) : array | Returns an object with field data | |
get_cursor ( ) : resource | Get cursor. Returns a cursor from the database | |
insert_id ( ) : integer | Insert ID | |
stored_procedure ( $package, $procedure, array $params ) : mixed | Stored Procedure. Executes a stored procedure | |
version ( ) : string | Database version number |
Метод | Описание | |
---|---|---|
_bind_params ( array $params ) : void | Bind parameters | |
_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 | Insert batch statement | |
_limit ( string $sql ) : string | LIMIT | |
_list_columns ( string $table = '' ) : string | Show column query | |
_list_tables ( boolean $prefix_limit = FALSE ) : string | Show table query | |
_trans_begin ( ) : boolean | Begin Transaction | |
_trans_commit ( ) : boolean | Commit Transaction | |
_trans_rollback ( ) : boolean | Rollback Transaction | |
_truncate ( string $table ) : string | Truncate statement |
public __construct ( array $params ) : void | ||
$params | array | |
Результат | void |
protected _bind_params ( array $params ) : void | ||
$params | array | |
Результат | void |
protected _list_columns ( string $table = '' ) : string | ||
$table | string | |
Результат | string |
protected _list_tables ( boolean $prefix_limit = FALSE ) : string | ||
$prefix_limit | boolean | |
Результат | string |
protected _trans_begin ( ) : boolean | ||
Результат | boolean |
protected _trans_commit ( ) : boolean | ||
Результат | boolean |
protected _trans_rollback ( ) : boolean | ||
Результат | boolean |
public db_connect ( boolean $persistent = FALSE ) : resource | ||
$persistent | boolean | |
Результат | resource |
public field_data ( string $table ) : array | ||
$table | string | |
Результат | array |
public get_cursor ( ) : resource | ||
Результат | resource |
public stored_procedure ( $package, $procedure, array $params ) : mixed | ||
$params | array | |
Результат | mixed | params array keys
KEY OPTIONAL NOTES
name no the name of the parameter should be in : |
protected array $_random_keyword | ||
Результат | array |
protected string[] $_reserved_identifiers | ||
Результат | string[] |
protected $_reset_stmt_id |
public bool $limit_used | ||
Результат | boolean |