Class QPostgreSqlPdoDatabase
EXPERIMENTAL PostgreSQL database driver, based on PDO.
- QBaseClass
- QDatabaseBase
- QPdoDatabase
- QPostgreSqlPdoDatabase
Package: DatabaseAdapters
Author: Marcos Sanchez [marcosdsanchez at thinkclear dot ar]
Located at includes/database/QPostgreSqlPdoDatabase.class.php
Author: Marcos Sanchez [marcosdsanchez at thinkclear dot ar]
Located at includes/database/QPostgreSqlPdoDatabase.class.php
public
|
#
InsertOrUpdate( string $strTable, array $mixColumnsAndValuesArray, null|string|array $strPKNames = null )
INSERTs or UPDATEs a table |
public
|
|
public
mixed
|
|
public
string
|
#
SqlVariable( mixed $mixData, boolean $blnIncludeEquality = false, boolean $blnReverseEquality = false )
Properly escapes $mixData to be used as a SQL query parameter. If IncludeEquality is set (usually not), then include an equality operator. So for most data, it would just be "=". But, for example, if $mixData is NULL, then most RDBMS's require the use of "IS". |
public
|
|
public
|
|
public
|
|
public
mixed|string[]
|
|
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
protected
mixed
|
#
ExecuteQuery( string $strQuery )
Sends a SQL query for execution to the database In this regard, a query is a 'SELECT' statement |
ExecuteNonQuery(),
ExecuteTransactionBegin(),
ExecuteTransactionCommit(),
ExecuteTransactionRollBack(),
__get()
|
OverrideAttributes(),
__call()
|
string |
PDO_PGSQL_DSN_IDENTIFIER
|
#
'pgsql'
|
Adapter
|
protected
boolean
|
$blnOnlyFullGroupBy
|
#
true
|
$objMostRecentResult,
$objPdo
|
$Adapter,
$AffectedRows,
$Caching,
$Database,
$DatabaseIndex,
$DateFormat,
$EnableProfiling,
$EscapeIdentifierBegin,
$EscapeIdentifierEnd,
$Host,
$OnlyFullGroupBy,
$Password,
$Port,
$Profile,
$Protocol,
$Server,
$Service,
$Username
|