跳到主要内容

insert_one

向集合中插入一条数据

声明

bool insert_one(int coll_handle, mixed data, map opts = {})

参数

参数名描述
coll_handle集合句柄
data数据
opts操作选项

返回值

true - 插入成功, false - 插入失败

使用方式

返回文档