当前位置:Gxlcms > mysql > MongoDBPHPDriver1.5发布

MongoDBPHPDriver1.5发布

时间:2021-07-01 10:21:17 帮助过:11人阅读

支持MongoDB 2.6新特性 Aggregate can now return a cursor Aggregation pipelines can now be explained Possible to set maxTimeMS for commands and queries Transparent support for the new command-based MongoDB write API New MongoWriteBatch class

支持MongoDB 2.6新特性

  • Aggregate can now return a cursor
  • Aggregation pipelines can now be explained
  • Possible to set maxTimeMS for commands and queries
  • Transparent support for the new command-based MongoDB write API
  • New MongoWriteBatch classes (using the new MongoDB write API)
  • Support for MongoDB Enterprise features (e.g. Kerberos, LDAP, X509)
  • Option to tune acceptable server latency for secondary reads (secondaryAcceptableLatencyMS)

以下会提示废弃信息

  • Instantiating the Mongo class
  • Calling MongoCursor::slaveOkay()
  • "wtimeout" and "safe" options for MongoCollection write operations
  • Manipulating public properties on core classes (such as $collection->w)

安装
源码安装或者

pecl install mongo

更新

pecl upgrade mongo

人气教程排行