DB++ Funktionen
PHP Manual

dbplus_add

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

dbplus_addAdd a tuple to a relation

Beschreibung

int dbplus_add ( resource $relation , array $tuple )

Adds a tuple to a relation .

Parameter-Liste

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.

Rückgabewerte

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

Anmerkungen

Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

Siehe auch


DB++ Funktionen
PHP Manual