dbplus_first

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9) Get first tuple from relation int dbplus_first ( resource $relation, array &$tuple ) Reads the data for the first tuple for the given relation, makes it the current tuple and pass it back as an associative array in tuple. Parameters: relation A relation opened by dbplus_open(). tuple A rela

dbplus_find

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9) Set a constraint on a relation int dbplus_find ( resource $relation, array $constraints, mixed $tuple ) Places a constraint on the given relation. Further calls to functions like dbplus_curr() or dbplus_next() will only return tuples matching the given constraints. Parameters: relation A relation opened by dbplus_open().

dbplus_errno

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9) Get error code for last operation int dbplus_errno ( void ) Returns the error code returned by the last db++ operation. Returns: Returns the error code, as an integer. See also: dbplus_errcode() -

dbplus_errcode

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9) Get error string for given errorcode or last error string dbplus_errcode ([ int $errno ] ) Returns a clear error string for the given error code. Parameters: errno The error code. If not provided, the result code of the last db++ operation is assumed. Returns: Returns the error message.

dbplus_curr

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9) Get current tuple from relation int dbplus_curr ( resource $relation, array &$tuple ) Reads the data for the current tuple for the given relation. Parameters: relation A relation opened by dbplus_open(). tuple The data will be passed back in this parameter, as an associative array.

dbplus_close

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9) Close a relation mixed dbplus_close ( resource $relation ) Closes a relation previously opened by dbplus_open(). Parameters: relation A relation opened by dbplus_open(). Returns: Returns TRUE on success or DBPLUS_ERR_UNKNOWN on failure.

dbplus_chdir

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9) Get/Set database virtual current directory string dbplus_chdir ([ string $newdir ] ) Changes the virtual current directory where relation files will be looked for by dbplus_open(). Parameters: newdir The new directory for relation files. You can omit this parameter to query the current working directory. Retur

dbplus_aql

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9) Perform AQL query resource dbplus_aql ( string $query [, string $server [, string $dbpath ]] ) Executes an AQL query on the given server and dbpath. Parameters: query The AQL query to be executed. Further information on the AQL (Algebraic Query Language) is provided in the original db++ manual. server

dbplus_add

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9) Add a tuple to a relation int dbplus_add ( resource $relation, array $tuple ) Adds a tuple to a relation. Parameters: relation Adds a tuple to a relation. tuple An array of attribute/value pairs to be inserted into the given relation. After successful execution this array will contain the com

cubrid_send_glo

(PECL CUBRID >= 8.3.0) Read data from glo and send it to std output int cubrid_send_glo ( resource $conn_identifier, string $oid ) The cubrid_send_glo() function is used to read data from glo instance and sends it to the PHP standard output. Parameters: conn_identifier Connection identifier. oid Oid of the glo instance that you want to