프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$dbdriver | string | Database driver | |
$options | array | PDO Options |
메소드 | 설명 | |
---|---|---|
__construct ( array $params ) : void | Class constructor | |
affected_rows ( ) : integer | Affected Rows | |
db_connect ( boolean $persistent = FALSE ) : object | Database connection | |
error ( ) : array | Error | |
insert_id ( string $name = NULL ) : integer | Insert ID | |
version ( ) : string | Database version number |
메소드 | 설명 | |
---|---|---|
_escape_str ( $str ) : string | Platform-dependant string escape | |
_execute ( string $sql ) : mixed | Execute the query | |
_field_data ( string $table ) : string | Field data query | |
_trans_begin ( ) : boolean | Begin Transaction | |
_trans_commit ( ) : boolean | Commit Transaction | |
_trans_rollback ( ) : boolean | Rollback Transaction | |
_truncate ( string $table ) : string | Truncate statement | |
_update_batch ( string $table, array $values, string $index ) : string | Update_Batch statement |
public __construct ( array $params ) : void | ||
$params | array | |
리턴 | void |
protected _escape_str ( $str ) : string | ||
리턴 | string |
protected _field_data ( string $table ) : string | ||
$table | string | |
리턴 | string |
public db_connect ( boolean $persistent = FALSE ) : object | ||
$persistent | boolean | |
리턴 | object |