Solutions Open Source

Référence de la classe ADODB_postgres7

Graphe d'héritage de ADODB_postgres7:

Inheritance graph
[légende]
Graphe de collaboration de ADODB_postgres7:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 ADODB_postgres7 ()
SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0)
 MetaForeignKeys ($table, $owner=false, $upper=false)
 _query ($sql, $inputarr)
 GetCharSet ()
 SetCharSet ($charset_name)

Attributs publics

 $databaseType = 'postgres7'
 $hasLimit = true
 support mssql/access SELECT TOP 10 * FROM TABLE
 $ansiOuter = true
 operator to use for right outer join in WHERE clause
 $charSet = true
 string to use to quote identifiers and names


Documentation des fonctions membres

ADODB_postgres7::ADODB_postgres7 (  ) 

& ADODB_postgres7::SelectLimit ( sql,
nrows = -1,
offset = -1,
inputarr = false,
secs2cache = 0 
)

Will select, getting rows from $offset (1-based), for $nrows. This simulates the MySQL "select * from table limit $offset,$nrows" , and the PostgreSQL "select * from table limit $nrows offset $offset". Note that MySQL and PostgreSQL parameter ordering is the opposite of the other. eg. SelectLimit('select * from table',3); will return rows 1 to 3 (1-based) SelectLimit('select * from table',3,2); will return rows 3 to 5 (1-based)

Uses SELECT TOP for Microsoft databases (when $this->hasTop is set) BUG: Currently SelectLimit fails with $sql with LIMIT or TOP clause already set

Paramètres:
sql 
[offset] is the row to start calculations from (1-based)
[nrows] is the number of rows to get
[inputarr] array of bind variables
[secs2cache] is a private parameter only used by jlim
Renvoie:
the recordset ($rs->databaseType == 'array')

Réimplémentée à partir de ADOConnection.

ADODB_postgres7::MetaForeignKeys ( table,
owner = false,
upper = false 
)

Renvoie:
assoc array where keys are tables, and values are foreign keys

Réimplémentée à partir de ADOConnection.

ADODB_postgres7::_query ( sql,
inputarr 
)

Réimplémentée à partir de ADODB_postgres64.

ADODB_postgres7::GetCharSet (  ) 

Réimplémentée à partir de ADOConnection.

ADODB_postgres7::SetCharSet ( charset_name  ) 

Réimplémentée à partir de ADOConnection.


Documentation des données membres

ADODB_postgres7::$databaseType = 'postgres7'

Réimplémentée à partir de ADODB_postgres64.

ADODB_postgres7::$hasLimit = true

support mssql/access SELECT TOP 10 * FROM TABLE

Réimplémentée à partir de ADODB_postgres64.

ADODB_postgres7::$ansiOuter = true

operator to use for right outer join in WHERE clause

Réimplémentée à partir de ADOConnection.

ADODB_postgres7::$charSet = true

string to use to quote identifiers and names

Réimplémentée à partir de ADOConnection.


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:40:05 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3