Метод |
Описание |
|
__construct ( array $options ) : Sqlite |
Constructor |
|
bindParams ( array $params ) : Sqlite |
Bind parameters to for a prepared SQL query. |
|
disconnect ( ) : void |
Close the DB connection. |
|
escape ( string $value ) : string |
Return the escaped string value. |
|
execute ( ) : void |
Execute the prepared SQL query. |
|
fetch ( ) : array |
Return the results array from the results resource. |
|
fetchResult ( ) : array |
Fetch and return the values. |
|
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. |
|
prepare ( string $sql ) : Sqlite |
Prepare a SQL query. |
|
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. |
|