Rumah >pangkalan data >tutorial mysql >MongoDB PHP Driver 1.5发布

MongoDB PHP Driver 1.5发布

WBOY
WBOYasal
2016-06-07 16:34:42999semak imbas

支持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
Kenyataan:
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Artikel sebelumnya:hbase中查看hlog文件内容Artikel seterusnya:分布式缓存的一起问题