(PECL mongo >= 1.5.0)
log_getmore — Callback When Retrieving Next Cursor Batch
$server
, array $info
)A callable function, used by the log_getmore context option, when executing a GET_MORE operation.
Notă:
This is not a real function, only a prototype of how the function should be.
serverUn tablou cu informațiile de bază despre serverul ales.
| cheie | valoare |
|---|---|
| hash | hash-ul serverului, de exemplu:localhost:27017;-;X;56052 |
| type | Tipul nodului (primary/secondary/mongos/arbiter): 2 |
| max_bson_size | Dimensiunea maximală BSON prin fir, pe care acest nod o acceptă: 16777216 |
| max_message_size | Dimensiunea maximală a mesajului prin fir, pe care acest nod o acceptă: 48000000 |
| request_id | Identificatorul interpelării pentru acest mesaj: 42 |
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 |