mongodb php7语法,MongoDB driver - PHP 7 中文文档

Unlike the [mongo](php7/book.mongo) extension, this

extension is developed atop the

» libmongoc and

» libbson libraries.

It provides a minimal API for core driver functionality:

[commands](php7/class.mongodb-driver-command),

[queries](php7/class.mongodb-driver-query),

[writes](php7/class.mongodb-driver-bulkwrite),

[connection management](php7/class.mongodb-driver-manager),

and [BSON serialization](php7/book.bson).

Userland PHP libraries that depend on this extension may provide higher

level APIs, such as query builders, individual command helper methods, and

GridFS. Application developers should consider using this extension in

conjunction with the

» MongoDB PHP library, which

implements the same higher level APIs found in MongoDB drivers for other

languages. This separation of concerns allows the driver to focus on

essential features for which an extension implementation is paramount for

performance.

安装/配置

需求

安装

运行时配置

预定义常量

Tutorials

Using the PHP Library for MongoDB (PHPLIB)

Application Performance Monitoring (APM)

Driver Architecture and Internals — Explains the driver architecure, and special features

Architecture — Architecture Overview

Connections — Connection handling and persistence

Persisting Data — Serialization and deserialization of PHP variables into MongoDB

Security

Request Injection Attacks

Script Injection Attacks

MongoDBDriver — MongoDB 驱动类

MongoDBDriverManager — The MongoDBDriverManager class

MongoDBDriverCommand — The MongoDBDriverCommand class

MongoDBDriverQuery — The MongoDBDriverQuery class

MongoDBDriverBulkWrite — The MongoDBDriverBulkWrite class

MongoDBDriverWriteConcern — The MongoDBDriverWriteConcern class

MongoDBDriverReadPreference — The MongoDBDriverReadPreference class

MongoDBDriverReadConcern — The MongoDBDriverReadConcern class

MongoDBDriverCursor — The MongoDBDriverCursor class

MongoDBDriverCursorId — The MongoDBDriverCursorId class

MongoDBDriverServer — The MongoDBDriverServer class

MongoDBDriverWriteConcernError — The MongoDBDriverWriteConcernError class

MongoDBDriverWriteError — The MongoDBDriverWriteError class

MongoDBDriverWriteResult — The MongoDBDriverWriteResult class

MongoDBBSON — BSON type classes and serialization functions

函数

MongoDBBSONBinary — The MongoDBBSONBinary class

MongoDBBSONDecimal128 — The MongoDBBSONDecimal128 class

MongoDBBSONJavascript — The MongoDBBSONJavascript class

MongoDBBSONMaxKey — The MongoDBBSONMaxKey class

MongoDBBSONMinKey — The MongoDBBSONMinKey class

MongoDBBSONObjectId — The MongoDBBSONObjectId class

MongoDBBSONRegex — The MongoDBBSONRegex class

MongoDBBSONTimestamp — The MongoDBBSONTimestamp class

MongoDBBSONUTCDateTime — The MongoDBBSONUTCDateTime class

MongoDBBSONType — The MongoDBBSONType interface

MongoDBBSONPersistable — The MongoDBBSONPersistable interface

MongoDBBSONSerializable — The MongoDBBSONSerializable interface

MongoDBBSONUnserializable — The MongoDBBSONUnserializable interface

MongoDBBSONBinaryInterface — The MongoDBBSONBinaryInterface interface

MongoDBBSONDecimal128Interface — The MongoDBBSONDecimal128Interface interface

MongoDBBSONJavascriptInterface — The MongoDBBSONJavascriptInterface interface

MongoDBBSONMaxKeyInterface — The MongoDBBSONMaxKeyInterface interface

MongoDBBSONMinKeyInterface — The MongoDBBSONMinKeyInterface interface

MongoDBBSONObjectIdInterface — The MongoDBBSONObjectIdInterface interface

MongoDBBSONRegexInterface — The MongoDBBSONRegexInterface interface

MongoDBBSONTimestampInterface — The MongoDBBSONTimestampInterface interface

MongoDBBSONUTCDateTimeInterface — The MongoDBBSONUTCDateTimeInterface interface

MongoDBBSONDBPointer — The MongoDBBSONDBPointer class (deprecated)

MongoDBBSONInt64 — The MongoDBBSONInt64 class

MongoDBBSONSymbol — The MongoDBBSONSymbol class (deprecated)

MongoDBBSONUndefined — The MongoDBBSONUndefined class (deprecated)

MongoDBDriverMonitoring — Monitoring classes and subscriber functions

函数

MongoDBDriverMonitoringCommandFailedEvent — The MongoDBDriverMonitoringCommandFailedEvent class

MongoDBDriverMonitoringCommandStartedEvent — The MongoDBDriverMonitoringCommandStartedEvent class

MongoDBDriverMonitoringCommandSucceededEvent — The MongoDBDriverMonitoringCommandSucceededEvent class

MongoDBDriverMonitoringCommandSubscriber — The MongoDBDriverMonitoringCommandSubscriber interface

MongoDBDriverMonitoringSubscriber — The MongoDBDriverMonitoringSubscriber interface

MongoDBDriverException — Exception 类

MongoDBDriverExceptionAuthenticationException — The MongoDBDriverExceptionAuthenticationException class

MongoDBDriverExceptionBulkWriteException — The MongoDBDriverExceptionBulkWriteException class

MongoDBDriverExceptionConnectionException — The MongoDBDriverExceptionConnectionException class

MongoDBDriverExceptionConnectionTimeoutException — The MongoDBDriverExceptionConnectionTimeoutException class

MongoDBDriverExceptionException — The MongoDBDriverExceptionException interface

MongoDBDriverExceptionExecutionTimeoutException — The MongoDBDriverExceptionExecutionTimeoutException class

MongoDBDriverExceptionInvalidArgumentException — The MongoDBDriverExceptionInvalidArgumentException class

MongoDBDriverExceptionLogicException — The MongoDBDriverExceptionLogicException class

MongoDBDriverExceptionRuntimeException — The MongoDBDriverExceptionRuntimeException class

MongoDBDriverExceptionSSLConnectionException — The MongoDBDriverExceptionSSLConnectionException class (deprecated)

MongoDBDriverExceptionUnexpectedValueException — The MongoDBDriverExceptionUnexpectedValueException class

MongoDBDriverExceptionWriteException — The MongoDBDriverExceptionWriteException class

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值