Ask a question to get started
Enter to sendā¢Shift+Enter new line
Set the values for the given keys.
mset( self, key_value_pairs: Sequence[tuple[str, Document]], batch_size: int = DEFAULT_INSERT_BATCH_SIZE ) -> None
key_value_pairs
Sequence[tuple[str, Document]]
A sequence of key-value pairs.
batch_size
int
DEFAULT_INSERT_BATCH_SIZE
Number of documents to insert at a time. Tuning this may help with performance and sidestep MongoDB limits.