Get an OP_GET_MORE message.
(collection_name: str, num_to_return: int, cursor_id: int)
| 517 | |
| 518 | |
| 519 | def _get_more_impl(collection_name: str, num_to_return: int, cursor_id: int) -> bytes: |
| 520 | """Get an OP_GET_MORE message.""" |
| 521 | return b"".join( |
| 522 | [ |
| 523 | _ZERO_32, |
| 524 | bson._make_c_string(collection_name), |
| 525 | _pack_int(num_to_return), |
| 526 | _pack_long_long(cursor_id), |
| 527 | ] |
| 528 | ) |
| 529 | |
| 530 | |
| 531 | def _get_more_compressed( |
no test coverage detected