RockByte

Be swift to hear, slow to speak.

分类

  • Flutter/Dart (1)
  • Java/Spring (8)
  • JavaScript/H5 (1)
  • Linux/Shell (8)
  • Mysql (5)
  • Other (12)
  • PHP/Frameworks (4)
  • Postgresql (2)
  • SAP/ABAP (1)
  • Windows (2)

activeMQ adsense Apache centos classic-editor eclipse Gutenberg hosts http_ssl_module mod_remoteip mongodb mp3截取 Nginx SpringMVC ssl证书 thinkphp5 tp5 vmware wordpress 中秋节 固定ip 消息队列 照片打分 爱打分

归档

  • 2022年7月 (1)
  • 2022年6月 (1)
  • 2022年2月 (3)
  • 2022年1月 (1)
  • 2020年8月 (1)
  • 2020年7月 (1)
  • 2020年6月 (1)
  • 2019年9月 (4)
  • 2019年8月 (1)
  • 2019年5月 (1)
  • 2019年4月 (3)
  • 2019年3月 (7)
  • 2019年2月 (1)
  • 2018年12月 (1)
  • 2018年11月 (1)
  • 2018年10月 (1)
  • 2018年9月 (2)
  • 2018年7月 (4)
  • 2018年6月 (4)

友情链接

  • 360笔记

功能

  • 登录
  • 条目feed
  • 评论feed
  • WordPress.org

标签: tp5

The ‘cursor’ option is required, except for aggregate with the explain argument

2019-05-15 by admin·4,900阅读·0评论
The 'cursor' option is required, except for aggregate with the explain argument 当mongodb的版本大于3.5,在使用aggregate查询时,需要有cursor参数。 Thinkphp5的mongodb驱动存在这个bug,修复步骤: 1,找到Builder.php,在aggregate方法里添加一行 $cmd = [ ......[阅读全文]
RockByte(rockbyte.cn), Personal technology blog, Since 2018, Contact me via email: 15051573@qq.com .