(PHP 4, PHP 5, PHP 7, PHP 8)
dba_insert — Insert entry
dba_insert() inserts the entry described with
key
and value
into the
database.
key
The key of the entry to be inserted. If this key already exist in the database, this function will fail. Use dba_replace() if you need to replace an existent key.
value
The value to be inserted.
dba
一个由 dba_open() 或 dba_popen() 返回的 Dba\Connection 实例。
版本 | 说明 |
---|---|
8.4.0 |
dba 参数现在接受 Dba\Connection 实例,
之前接受有效的 dba resource。
|