MIOLO26
|
Membros públicos | |
__construct ($conf) | |
_connect ($dbhost, $loginDB, $loginUID, $loginPWD, $persistent=TRUE, $parameters=NULL, $port=NULL) | |
_close () | |
_error ($resource=null) | |
_execute ($sql) | |
_createquery () | |
_chartotimestamp ($timestamp, $format='DD/MM/YYYY HH24:MI:SS') | |
_chartodate ($date, $format='DD/MM/YYYY') | |
_timestamptochar ($timestamp, $format='DD/MM/YYYY HH24:MI:SS') | |
_datetochar ($date, $format='DD/MM/YYYY') | |
throwError ($result) | |
getErrorField ($result, $fieldcode=PGSQL_DIAG_MESSAGE_PRIMARY) | |
Membros públicos herdados de MConnection | |
_connect ($dbhost, $loginDB, $loginUID, $loginPWD, $persistent=TRUE, $parameters=NULL) | |
_error () | |
_escape ($sql) | |
_chartotimestamp ($timestamp) | |
_chartodate ($date) | |
_timestamptochar ($timestamp) | |
_datetochar ($date) | |
open ($dbhost, $loginDB, $loginUID, $loginPWD, $persistent=TRUE, $parameters=NULL, $port=NULL) | |
close () | |
getError () | |
getErrors () | |
getErrorCount () | |
checkError () | |
execute ($sql) | |
parse ($sql) | |
bind ($sql, $parameters) | |
getQuery ($sql, $maxrows=NULL, $offset=NULL, $fetchType=NULL) | |
getQueryCommand ($sqlCommand, $maxrows=NULL, $offset=NULL, $fetchType=NULL) | |
Outros membros herdados | |
Campos de Dados herdados de MConnection | |
$db | |
$id | |
$traceback = array() | |
$affectedrows | |
$_miolo | |
__construct | ( | $db | ) |
_chartodate | ( | $date, | |
$format = 'DD/MM/YYYY' ) |
_chartotimestamp | ( | $timestamp, | |
$format = 'DD/MM/YYYY HH24:MI:SS' ) |
_close | ( | ) |
Reimplementado de MConnection.
_connect | ( | $dbhost, | |
$loginDB, | |||
$loginUID, | |||
$loginPWD, | |||
$persistent = TRUE, | |||
$parameters = NULL, | |||
$port = NULL ) |
_createquery | ( | ) |
Reimplementado de MConnection.
_datetochar | ( | $date, | |
$format = 'DD/MM/YYYY' ) |
_error | ( | $resource = null | ) |
_execute | ( | $sql | ) |
Reimplementado de MConnection.
_timestamptochar | ( | $timestamp, | |
$format = 'DD/MM/YYYY HH24:MI:SS' ) |
getErrorField | ( | $result, | |
$fieldcode = PGSQL_DIAG_MESSAGE_PRIMARY ) |
Get database error message according to the given postgres constant http://php.net/manual/en/function.pg-result-error-field.php
string | $fieldcode | The error field identifier |
throwError | ( | $result | ) |
Check Postgres errors and throw the appropriate exception All the error codes can be found at http://www.postgresql.org/docs/8.4/static/errcodes-appendix.html