跳到主要内容

exist

检查满足条件的数据是否存在

声明

array exist(int coll_handle, map find_doc_map, map opts = {})

参数

参数名描述
coll_handle集合句柄
find_doc_map查询条件
opts操作选项

返回值

[ 查询错误信息, 是否存在 ]

使用方式

返回文档