ADODB_postgres7 Klassenreferenz

ADODB_postgres7 Klassenreferenz
Klassendiagramm für ADODB_postgres7:
Zusammengehörigkeiten von ADODB_postgres7:

Öffentliche Methoden

 ADODB_postgres7 ()
 
 SelectLimit ($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0)
 
 MetaForeignKeys ($table, $owner=false, $upper=false)
 
 _old_MetaForeignKeys ($table, $owner=false, $upper=false)
 
 _query ($sql, $inputarr=false)
 
 GetCharSet ()
 
 SetCharSet ($charset_name)
 
- Öffentliche Methoden geerbt von ADODB_postgres64
 ADODB_postgres64 ()
 
 ServerInfo ()
 
 IfNull ($field, $ifNull)
 
 pg_insert_id ($tablename, $fieldname)
 
 _insertid ($table, $column)
 
 _affectedrows ()
 
 BeginTrans ()
 
 RowLock ($tables, $where, $col='1 as adodbignore')
 
 CommitTrans ($ok=true)
 
 RollbackTrans ()
 
 MetaTables ($ttype=false, $showSchema=false, $mask=false)
 
 qstr ($s, $magic_quotes=false)
 
 SQLDate ($fmt, $col=false)
 
 UpdateBlobFile ($table, $column, $path, $where, $blobtype='BLOB')
 
 BlobDelete ($blob)
 
 GuessOID ($oid)
 
 BlobDecode ($blob, $maxsize=false, $hastrans=true)
 
 BlobEncode ($blob)
 
 UpdateBlob ($table, $column, $val, $where, $blobtype='BLOB')
 
 OffsetDate ($dayFraction, $date=false)
 
 MetaColumns ($table, $normalize=true)
 
 Param ($name, $type='C')
 
 MetaIndexes ($table, $primary=FALSE, $owner=false)
 
 _connect ($str, $user='', $pwd='', $db='', $ctype=0)
 
 _nconnect ($argHostname, $argUsername, $argPassword, $argDatabaseName)
 
 _pconnect ($str, $user='', $pwd='', $db='')
 
 _query ($sql, $inputarr=false)
 
 _errconnect ()
 
 ErrorMsg ()
 
 ErrorNo ()
 
 _close ()
 
 CharMax ()
 
 TextMax ()
 

Datenfelder

 $databaseType = 'postgres7'
 
 $hasLimit = true
 
 $ansiOuter = true
 
 $charSet = true
 
 $metaColumnsSQL
 
 $metaColumnsSQL1
 
- Datenfelder geerbt von ADODB_postgres64
 $databaseType = 'postgres64'
 
 $dataProvider = 'postgres'
 
 $hasInsertID = true
 
 $_resultid = false
 
 $concat_operator ='||'
 
 $metaDatabasesSQL = "select datname from pg_database where datname not in ('template0','template1') order by 1"
 
 $metaTablesSQL
 
 $isoDates = true
 
 $sysDate = "CURRENT_DATE"
 
 $sysTimeStamp = "CURRENT_TIMESTAMP"
 
 $blobEncodeType = 'C'
 
 $metaColumnsSQL
 
 $metaColumnsSQL1
 
 $metaKeySQL
 
 $hasAffectedRows = true
 
 $hasLimit = false
 
 $true = 'TRUE'
 
 $false = 'FALSE'
 
 $fmtDate = "'Y-m-d'"
 
 $fmtTimeStamp = "'Y-m-d H:i:s'"
 
 $hasMoveFirst = true
 
 $hasGenID = true
 
 $_genIDSQL = "SELECT NEXTVAL('%s')"
 
 $_genSeqSQL = "CREATE SEQUENCE %s START %s"
 
 $_dropSeqSQL = "DROP SEQUENCE %s"
 
 $metaDefaultsSQL = "SELECT d.adnum as num, d.adsrc as def from pg_attrdef d, pg_class c where d.adrelid=c.oid and c.relname='%s' order by d.adnum"
 
 $random = 'random()'
 
 $autoRollback = true
 random function Mehr ...
 
 $uniqueIisR = true
 
 $_bindInputArray = false
 
 $disableBlobs = false
 
 $_pnum = 0
 

Ausführliche Beschreibung

Definiert in Zeile 19 der Datei adodb-postgres7.inc.php.

Dokumentation der Elementfunktionen

_old_MetaForeignKeys (   $table,
  $owner = false,
  $upper = false 
)

Definiert in Zeile 163 der Datei adodb-postgres7.inc.php.

_query (   $sql,
  $inputarr = false 
)

Definiert in Zeile 196 der Datei adodb-postgres7.inc.php.

Definiert in Zeile 78 der Datei adodb-postgres7.inc.php.

Benutzt _bindInputArray und ADODB_postgres64\ADODB_postgres64().

Wird benutzt von ADODB_postgres9\ADODB_postgres9().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

GetCharSet ( )

Definiert in Zeile 239 der Datei adodb-postgres7.inc.php.

Benutzt $charSet.

Wird benutzt von SetCharSet().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

MetaForeignKeys (   $table,
  $owner = false,
  $upper = false 
)

Definiert in Zeile 118 der Datei adodb-postgres7.inc.php.

Benutzt $a.

SelectLimit (   $sql,
  $nrows = -1,
  $offset = -1,
  $inputarr = false,
  $secs2cache = 0 
)

Definiert in Zeile 90 der Datei adodb-postgres7.inc.php.

SetCharSet (   $charset_name)

Definiert in Zeile 251 der Datei adodb-postgres7.inc.php.

Benutzt GetCharSet().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Dokumentation der Datenelemente

$ansiOuter = true

Definiert in Zeile 22 der Datei adodb-postgres7.inc.php.

$charSet = true

Definiert in Zeile 23 der Datei adodb-postgres7.inc.php.

Wird benutzt von GetCharSet().

$databaseType = 'postgres7'

Definiert in Zeile 20 der Datei adodb-postgres7.inc.php.

$hasLimit = true

Definiert in Zeile 21 der Datei adodb-postgres7.inc.php.

$metaColumnsSQL
Initialisierung:
=
"SELECT a.attname,
CASE
WHEN x.sequence_name != '' THEN 'SERIAL'
ELSE t.typname
END AS typname,
a.attlen,a.atttypmod,a.attnotnull,a.atthasdef,a.attnum
FROM pg_class c, pg_attribute a
JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN
(SELECT c.relname as sequence_name,
c1.relname as related_table,
a.attname as related_column
FROM pg_class c
JOIN pg_depend d ON d.objid = c.oid
LEFT JOIN pg_class c1 ON d.refobjid = c1.oid
LEFT JOIN pg_attribute a ON (d.refobjid, d.refobjsubid) = (a.attrelid, a.attnum)
WHERE c.relkind = 'S' AND c1.relname = '%s') x
ON x.related_column= a.attname
WHERE c.relkind in ('r','v') AND
(c.relname='%s' or c.relname = lower('%s')) AND
a.attname not like '....%%' AND
a.attnum > 0 AND
a.attrelid = c.oid
ORDER BY a.attnum"

Definiert in Zeile 25 der Datei adodb-postgres7.inc.php.

$metaColumnsSQL1
Initialisierung:
= "
SELECT a.attname,
CASE
WHEN x.sequence_name != '' THEN 'SERIAL'
ELSE t.typname
END AS typname,
a.attlen, a.atttypmod, a.attnotnull, a.atthasdef, a.attnum
FROM pg_class c, pg_namespace n, pg_attribute a
JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN
(SELECT c.relname as sequence_name,
c1.relname as related_table,
a.attname as related_column
FROM pg_class c
JOIN pg_depend d ON d.objid = c.oid
LEFT JOIN pg_class c1 ON d.refobjid = c1.oid
LEFT JOIN pg_attribute a ON (d.refobjid, d.refobjsubid) = (a.attrelid, a.attnum)
WHERE c.relkind = 'S' AND c1.relname = '%s') x
ON x.related_column= a.attname
WHERE c.relkind in ('r','v') AND (c.relname='%s' or c.relname = lower('%s'))
AND c.relnamespace=n.oid and n.nspname='%s'
AND a.attname not like '....%%' AND a.attnum > 0
AND a.atttypid = t.oid AND a.attrelid = c.oid
ORDER BY a.attnum"

Definiert in Zeile 52 der Datei adodb-postgres7.inc.php.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:




Korrekturen, Hinweise und Ergänzungen

Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.