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 complete data of the newly created tuple, including all implicitly set domain fields like sequences.

Returns:

The function will return DBPLUS_ERR_NOERR on success or a db++ error code on failure.

See also:

dbplus_errcode() -

doc_php
2016-02-24 16:16:12
Comments
Leave a Comment

Please login to continue.