dbplus_add
(PHP 4 >= 4.0.7, PECL dbplus:0.9)
dbplus_add — Add a tuple to a relation
Beskrivelse
int dbplus_add
( resource $relation
, array $tuple
)
Adds a tuple to a relation .
Parameterliste
- 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.
Returneringsværdier
The function will return DBPLUS_ERR_NOERR on success or a db++ error code on failure.
Notes
Warning
Denne funktion er EKSPERIMENTABEL. Virkemåden af denne funktion, navnet på funktionen, og andet ellers dokumenteret om denne funktion, ændres muligvis uden advarsel i en fremtidig version af PHP. Brug af denne funktion er på ejet ansvar.