PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

dbplus_aql> <DB++
Last updated: Sun, 25 Nov 2007

view this page in

dbplus_add

(PHP 4 >= 4.0.7, PECL dbplus:0.9)

dbplus_add — Add a tuple to a relation

說明

int dbplus_add ( resource $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.

Return值

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

註釋

Warning

本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。



add a note add a note User Contributed Notes
dbplus_add
There are no user contributed notes for this page.

dbplus_aql> <DB++
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites