Свойство | Type | Description | |
---|---|---|---|
$affected_rows | |||
$current_db | |||
$dbName | initial connection | ||
$encoding | |||
$error_handler | |||
$host | |||
$insert_id | |||
$internal_mysql | internal | ||
$named_param_seperator | |||
$nested_transactions | |||
$nested_transactions_count | |||
$nonsql_error_handler | |||
$num_rows | |||
$param_char | configure workings | ||
$password | |||
$port | |||
$server_info | |||
$success_handler | |||
$throw_exception_on_error | |||
$throw_exception_on_nonsql_error | |||
$usenull | |||
$user |
Méthode | Description | |
---|---|---|
__construct ( $host = null, $user = null, $password = null, $dbName = null, $port = null, $encoding = null ) | ||
affectedRows ( ) | ||
columnList ( $table ) | ||
commit ( $all = false ) | ||
count ( ) | ||
debugMode ( $handler = true ) | ||
delete ( ) | ||
disconnect ( ) | ||
get ( ) | ||
insert ( $table, $data ) | ||
insertId ( ) | ||
insertIgnore ( $table, $data ) | ||
insertOrReplace ( $which, $table, $datas, $options = [] ) | ||
insertUpdate ( ) | ||
nonSQLError ( $message ) | ||
numRows ( ) | ||
query ( ) | ||
queryAllLists ( ) | ||
queryFirstColumn ( ) | ||
queryFirstField ( ) | ||
queryFirstList ( ) | ||
queryFirstRow ( ) | ||
queryFullColumns ( ) | ||
queryOneColumn ( ) | ||
queryOneField ( ) | ||
queryOneList ( ) | ||
queryOneRow ( ) | ||
queryRaw ( ) | ||
queryRawUnbuf ( ) | ||
replace ( $table, $data ) | ||
rollback ( $all = false ) | ||
serverVersion ( ) | ||
setDB ( $dbName ) | ||
sqleval ( ) | ||
startTransaction ( ) | ||
tableList ( $db = null ) | ||
transactionDepth ( ) | ||
update ( ) | ||
useDB ( ) |
Méthode | Description | |
---|---|---|
escape ( $str ) | ||
formatTableName ( $table ) | ||
intval ( $var ) | ||
parseQueryParams ( ) | ||
parseTS ( $ts ) | ||
preparseQueryParams ( ) | ||
prependCall ( $function, $args, $prepend ) | ||
queryHelper ( ) | ||
sanitize ( $value ) |
public __construct ( $host = null, $user = null, $password = null, $dbName = null, $port = null, $encoding = null ) |