跳到主要内容

insert_one

插入一条数据

声明

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

参数

参数名描述
data数据
opts操作选项

返回值

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

使用方式

返回文档