A MongoDB based implementation of the document manager.
MongoDocumentManager(
self,
namespace: str,
*,
mongodb_url: str,
db_name: str,
collection_name: str = 'documentMetadata'
)Create the database schema for the document manager.
Create the database schema for the document manager.
Upsert documents into the MongoDB collection.
Asynchronously upsert documents into the MongoDB collection.
Get the current server time as a timestamp.
Asynchronously get the current server time as a timestamp.
Check if the given keys exist in the MongoDB collection.
Asynchronously check if the given keys exist in the MongoDB collection.
List documents in the MongoDB collection based on the provided date range.
Asynchronously list documents in the MongoDB collection based on the provided date range.
Delete documents from the MongoDB collection.
Asynchronously delete documents from the MongoDB collection.