Метод |
Описание |
|
affectedRows ( mysqli $link ) : integer |
returns the number of rows affected by last query |
|
connect ( string $user, string $password, array $server ) : mixed |
connects to the database server |
|
dataSeek ( mysqli_result $result, integer $offset ) : boolean |
Adjusts the result pointer to an arbitrary row in the result |
|
escapeString ( mixed $link, string $str ) : string |
returns properly escaped string for use in MySQL queries |
|
fetchArray ( mysqli_result $result ) : array |
returns array of rows with associative and numeric keys from $result |
|
fetchAssoc ( mysqli_result $result ) : array |
returns array of rows with associative keys from $result |
|
fetchRow ( mysqli_result $result ) : array |
returns array of rows with numeric keys from $result |
|
fieldFlags ( mysqli_result $result, integer $i ) : string |
returns concatenated string of human readable field flags |
|
fieldLen ( mysqli_result $result, integer $i ) : integer |
returns the length of the given field $i in $result |
|
fieldName ( mysqli_result $result, integer $i ) : string |
returns name of $i. field in $result |
|
freeResult ( mysqli_result $result ) : void |
Frees memory associated with the result |
|
getClientInfo ( ) : string |
returns a string that represents the client library version |
|
getError ( resource $link ) : string | boolean |
returns last error message or false if no errors occurred |
|
getFieldsMeta ( mysqli_result $result ) : array |
returns metainfo for fields in $result |
|
getHostInfo ( resource $link ) : string |
Returns a string representing the type of connection used |
|
getProtoInfo ( resource $link ) : integer |
Returns the version of the MySQL protocol used |
|
moreResults ( mysqli $link ) : boolean |
Check if there are any more query results from a multi query |
|
nextResult ( mysqli $link ) : boolean |
Prepare next result from multi_query |
|
numFields ( mysqli_result $result ) : integer |
return number of fields in given $result |
|
numRows ( mysqli_result $result ) : string | integer |
returns the number of rows returned by last query |
|
realMultiQuery ( mysqli $link, string $query ) : mysqli_result |
Run the multi query and output the results |
|
realQuery ( string $query, mysqli $link, integer $options ) : mysqli_result | boolean |
runs a query and returns the result |
|
selectDb ( string $dbname, mysqli $link ) : boolean |
selects given database |
|
storeResult ( mysqli $link ) : mixed |
Store the result returned from multi query |
|