GoLang dbplus_first

request it (344)
GoLang replacement for PHP's dbplus_first [edit | history]



Do you know a GoLang replacement for PHP's dbplus_first? Write it!

PHP dbplus_first

PHP original manual for dbplus_first [ show | php.net ]

dbplus_first

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)

dbplus_firstGet first tuple from relation

Description

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

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