LOG_GETMORE(3) 1 LOG_GETMORE(3)
log_getmore - Callback When Retrieving Next Cursor Batch
SYNOPSIS
log_getmore (array $server, array $info)
DESCRIPTION
A callable function, used by the log_getmore context option, when executing a GET_MORE operation.
Note
This is not a real function, only a prototype of how the function should be.
PARAMETERS
o $server
- An array containing the basic information about the server that was picked.
+-----------------+---------------------------------------------------+
| key | |
| | |
| | value |
| | |
+-----------------+---------------------------------------------------+
| hash | |
| | |
| | server hash, example: localhost:27017;-;X;56052 |
| | |
| type | |
| | |
| | Node type (primary/secondary/mongos/arbiter): 2 |
| | |
| max_bson_size | |
| | |
| | The maximum BSON Size over the wire this node |
| | accepts: 16777216 |
| | |
|max_message_size | |
| | |
| | The maximum Message Size over the wire this node |
| | accepts: 48000000 |
| | |
| request_id | |
| | |
| | The request identifier for this message: 42 |
| | |
+-----------------+---------------------------------------------------+
o $info
-
+-----------+---------------------------------------------------+
| key | |
| | |
| | value |
| | |
+-----------+---------------------------------------------------+
|request_id | |
| | |
| | integer, the driver request identifier |
| | |
|cursor_id | |
| | |
| | integer, the cursor identifier being used to |
| | fetch more data |
| | |
|batch_size | |
| | |
| | integer, maximum number of documents being |
| | requested |
| | |
+-----------+---------------------------------------------------+
PHP Documentation Group LOG_GETMORE(3)