💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 查询一条id等于5的数据 ``` //使用数据库模型抽象层 ----获取单个数据 M('test').where('id="5"').field('id,title').find().then( t=>{ console.log("抽象层获取单个数据:") console.log(t) } ); ``` ### 执行结果 | 成功 | 单个数据对象 | | --- | --- | | 失败 | null |