DBPLUS_FIRST(3) 1 DBPLUS_FIRST(3)
dbplus_first - Get first tuple from relation
SYNOPSIS
int dbplus_first (resource $relation, array &$tuple)
DESCRIPTION
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
o $relation
- A relation opened by dbplus_open(3).
o $tuple
-
RETURN VALUES
Returns DBPLUS_ERR_NOERR on success or a db++ error code on failure.
NOTES
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in
a future release of PHP. This function should be used at your own risk.
SEE ALSO
dbplus_curr(3), dbplus_prev(3), dbplus_next(3), dbplus_last(3), dbplus_errcode(3).
PHP Documentation Group DBPLUS_FIRST(3)