(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)
dbplus_add — Add a tuple to a relation
$relation
, array $tuple
)
Adds a tuple to a relation.
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.
The function will return DBPLUS_ERR_NOERR on success
or a db++ error code on failure.
이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다.