首頁 >資料庫 >mysql教程 >MongoDB PHP Driver 1.5发布

MongoDB PHP Driver 1.5发布

WBOY
WBOY原創
2016-06-07 16:34:421008瀏覽

支持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
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn