log_cmd_insert
Callback When Inserting Documents
Description
log_cmd_insert
( array $server
, array $document
, array $writeOptions
, array $protocolOptions
)
Note:
This is not a real function, only a prototype of how the function should
be.
Parameters
-
server
-
An array containing the basic information about the server that was picked.
-
document
-
The document that has been prepared to be inserted
-
writeOptions
-
writeConcern array values key | value |
fsync | boolean, force flushing to disk before returning |
j | boolean, force journal write before returning |
wtimeout | integer, milliseconds, maximum time the primary is allowed to wait to verify replication |
w | integer=server count, or string=replication-tag |
-
protocolOptions
-