函式:dba_exists()


dba_exists

检查键是否存在。

语法: boolean dba_exists(string key, int handle);

传回值: 布林值

函式种类: 资料库功能

内容说明

本函式用来检查指定的键是否存在。参数 key 为待检查的键值 (key)。参数 handle 为开启资料库时所传回来的代号 ID。若键存在则传回 true 值。

参考

dba_delete()  dba_fetch()  dba_insert()  dba_replace()  


[ 上一页 下一页 ]