略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoDB context options

2024-04-25

MongoDB context options

MongoDB context optionsMongoDB context option listing

说明

Context options for mongodb:// transports.

可选项

log_cmd_insert callable

A callback function called when inserting a document, see log_cmd_insert().

log_cmd_delete callable

A callback function called when deleting a document, see log_cmd_delete().

log_cmd_update callable

A callback function called when updating a document, see log_cmd_update().

log_write_batch callable

A callback function called when executing a Write Batch, see log_write_batch().

log_reply callable

A callback function called when reading a reply from MongoDB, see log_reply().

log_getmore callable

A callback function called when retrieving more results from a MongoDB cursor, see log_getmore().

log_killcursor callable

A callback function called executing a killcursor opcode, see log_killcursor().

更新日志

版本 说明
pecl/mongo 1.5.0 Added Write API Context options
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/context.mongodb.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3