mongodb使用模型saveAll插入数据错误

浏览:1232 发布日期:2018/05/31 分类:求助交流
使用mongodb可以插入单条数据(create,save)都可以正常插入,插入多条数据时saveAll是报错
错误

Fatal error: Call to undefined method think\mongo\Connection::startTrans() in /www/wwwroot/test2/thinkphp/library/think/db/Query.php on line 446

Call to undefined method think\mongo\Connection::startTrans()
最佳答案
评论( 相关
后面还有条评论,点击查看>>