-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I've been going around in circles a bit trying to understand if this library can be used to speed up decoding an aggregation query.
Or whether after recent pymongo updates its needed at all.
documents = []
cursor = collection.aggregate_raw_batches(
pipeline=aggregation_query,
)
while True:
try:
documents.extend([x for x in decode_all(cursor.next())])
except StopIteration:
break
How would I use bsonjs.dumps instead?
Metadata
Metadata
Assignees
Labels
No labels