Method |
Description |
|
__construct ( $dsn = '', $user = '', $password = '', $ssl = [] ) |
********************************************************************
Constructor - allow the user to perform a quick connect at the
same time as initialising the ezSQL_pdo class |
|
catch_error ( ) |
********************************************************************
Hooks into PDO error system and reports it to user |
|
connect ( $dsn = '', $user = '', $password = '', $ssl = [] ) |
********************************************************************
Try to connect to database server |
|
escape ( $str ) |
********************************************************************
Format a string correctly for safe PDO insert
(no mater if magic quotes are on or not) |
|
query ( $query ) |
Basic Query - see docs for more detail |
|
quick_connect ( $dsn = '', $user = '', $password = '', $ssl = [] ) |
********************************************************************
In the case of PDO quick_connect is not really needed
because std. connect already does what quick connect does -
but for the sake of consistency it has been included |
|
select ( $dsn = '', $user = '', $password = '', $ssl = [] ) |
********************************************************************
No real equivalent of mySQL select in PDO
once again, function included for the sake of consistency |
|
sysdate ( ) |
********************************************************************
Return specific system date syntax
i.e. Oracle: SYSDATE Mysql: NOW() |
|