GoLang MongoDB context options

request it (410)
GoLang replacement for PHP's MongoDB context options [edit | history]



Do you know a GoLang replacement for PHP's MongoDB context options? Write it!

PHP MongoDB context options

PHP original manual for MongoDB context options [ show | php.net ]

MongoDB context options

MongoDB context optionsMongoDB context option listing

Description

Context options for mongodb:// transports.

Options

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().

Changelog

Version Description
pecl/mongo 1.5.0 Added Write API Context options