ADORecordSet_postgres64 Class Reference

Inheritance diagram for ADORecordSet_postgres64:

ADORecordSet ADODB_BASE_RS ADORecordSet_assoc_postgres7 ADORecordSet_netezza ADORecordSet_postgres7 List of all members.

Public Member Functions

 ADORecordSet_postgres64 ($queryID, $mode=false)
GetRowAssoc ($upper=true)
 _initrs ()
 Fields ($colname)
FetchField ($off=0)
 _seek ($row)
 _decode ($blob)
 _fixblobs ()
 MoveNext ()
 _fetch ()
 _close ()
 MetaType ($t, $len=-1, $fieldobj=false)

Public Attributes

 $_blobArr
 $databaseType = "postgres64"
 $canSeek = true
 in other words, we use a text area for editing.

Detailed Description

Definition at line 853 of file adodb-postgres64.inc.php.


Constructor & Destructor Documentation

ADORecordSet_postgres64.ADORecordSet_postgres64 queryID,
mode = false
 

Definition at line 857 of file adodb-postgres64.inc.php.


Member Function Documentation

ADORecordSet_postgres64._close  ) 
 

Reimplemented from ADORecordSet.

Definition at line 982 of file adodb-postgres64.inc.php.

ADORecordSet_postgres64._decode blob  ) 
 

Definition at line 931 of file adodb-postgres64.inc.php.

ADORecordSet_postgres64._fetch  ) 
 

Reimplemented in ADORecordSet_assoc_postgres7.

Definition at line 969 of file adodb-postgres64.inc.php.

ADORecordSet_postgres64._fixblobs  ) 
 

Definition at line 937 of file adodb-postgres64.inc.php.

ADORecordSet_postgres64._initrs  ) 
 

Reimplemented in ADORecordSet_netezza.

Definition at line 883 of file adodb-postgres64.inc.php.

ADORecordSet_postgres64._seek row  ) 
 

Definition at line 926 of file adodb-postgres64.inc.php.

& ADORecordSet_postgres64.FetchField off = 0  ) 
 

Get the ADOFieldObject of a specific column.

Parameters:
fieldoffset is the column position to access(0-based).
Returns:
the ADOFieldObject for that column, or false.

Reimplemented from ADORecordSet.

Definition at line 915 of file adodb-postgres64.inc.php.

ADORecordSet_postgres64.Fields colname  ) 
 

Get the value of a field in the current row by column name. Will not work if ADODB_FETCH_MODE is set to ADODB_FETCH_NUM.

Parameters:
colname is the field to access
Returns:
the value of $colname column

Reimplemented from ADORecordSet.

Definition at line 901 of file adodb-postgres64.inc.php.

& ADORecordSet_postgres64.GetRowAssoc upper = true  ) 
 

Use associative array to get fields array for databases that do not support associative arrays. Submitted by Paolo S. Asioli paolo.asioli.libero.it

If you don't want uppercase cols, set $ADODB_FETCH_MODE = ADODB_FETCH_ASSOC before you execute your SQL statement, and access $rs->fields['col'] directly.

$upper 0 = lowercase, 1 = uppercase, 2 = whatever is returned by FetchField

Reimplemented from ADORecordSet.

Definition at line 876 of file adodb-postgres64.inc.php.

ADORecordSet_postgres64.MetaType t,
len = -1,
fieldobj = false
 

Get the metatype of the column. This is used for formatting. This is because many databases use different names for the same type, so we transform the original type to our standardised version which uses 1 character codes:

Parameters:
t is the type passed in. Normally is ADOFieldObject->type.
len is the maximum length of that field. This is because we treat character fields bigger than a certain size as a 'B' (blob).
fieldobj is the field object returned by the database driver. Can hold additional info (eg. primary_key for mysql).
Returns:
the general type of the data: C for character < 250 chars X for teXt (>= 250 chars) B for Binary N for numeric or floating point D for date T for timestamp L for logical/Boolean I for integer R for autoincrement counter/integer

Reimplemented from ADORecordSet.

Definition at line 987 of file adodb-postgres64.inc.php.

ADORecordSet_postgres64.MoveNext  ) 
 

Move to next record in the recordset.

Returns:
true if there still rows available, or false if there are no more rows (EOF).

Reimplemented from ADORecordSet.

Reimplemented in ADORecordSet_postgres7, and ADORecordSet_assoc_postgres7.

Definition at line 952 of file adodb-postgres64.inc.php.


Member Data Documentation

ADORecordSet_postgres64.$_blobArr
 

Definition at line 854 of file adodb-postgres64.inc.php.

ADORecordSet_postgres64.$canSeek = true
 

in other words, we use a text area for editing.

any varchar/char field this size or greater is treated as a blob

Reimplemented from ADORecordSet.

Reimplemented in ADORecordSet_netezza.

Definition at line 856 of file adodb-postgres64.inc.php.

ADORecordSet_postgres64.$databaseType = "postgres64"
 

Reimplemented in ADORecordSet_netezza, ADORecordSet_postgres7, and ADORecordSet_assoc_postgres7.

Definition at line 855 of file adodb-postgres64.inc.php.


The documentation for this class was generated from the following file:
Generated on Fri Apr 7 10:48:45 2006 for TYPO3 by  doxygen 1.4.6