MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / _get_more_impl

Function _get_more_impl

pymongo/message.py:519–528  ·  view source on GitHub ↗

Get an OP_GET_MORE message.

(collection_name: str, num_to_return: int, cursor_id: int)

Source from the content-addressed store, hash-verified

517
518
519def _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
531def _get_more_compressed(

Callers 2

_get_more_compressedFunction · 0.85
_get_more_uncompressedFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected