log_cmd_insert
Callback When Inserting Documents
Beschreibung
log_cmd_insert
( array $server
, array $document
, array $writeOptions
, array $protocolOptions
)
Hinweis:
This is not a real function, only a prototype of how the function should
be.
Parameter-Liste
-
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
-