Method |
Description |
|
__construct ( array $options ) : AbstractAdapter |
Constructor |
|
disconnect ( ) : void |
Disconnect from the database |
|
escape ( string $value ) : string |
Return the escaped string value. |
|
fetch ( ) : array |
Return the results array from the results resource. |
|
getConnection ( ) : resource |
Get the connection resource |
|
getResult ( ) : resource |
Get the result resource |
|
getTables ( ) : array |
Get an array of the tables of the database. |
|
hasResult ( ) : boolean |
Determine whether or not an result resource exists |
|
isConnected ( ) : boolean |
Determine whether or not connected |
|
lastId ( ) : integer |
Return the auto-increment ID of the last query. |
|
numFields ( ) : integer |
Return the number of fields in the result. |
|
numRows ( ) : integer |
Return the number of rows in the result. |
|
query ( string $sql ) : void |
Execute the SQL query and create a result resource, or display the SQL error. |
|
showError ( ) : void |
Throw an exception upon a database error. |
|
version ( ) : string |
Return the database version. |
|