document-databases
Installation
SKILL.md
What I do
- Design document schemas
- Implement MongoDB-style operations
- Optimize document queries
When to use me
When working with document databases like MongoDB, CouchDB.
Document Operations
class DocumentStore:
"""Document database operations"""
def __init__(self, connection):
self.db = connection
def insert_document(self, collection: str, document: dict):
"""Insert a document"""
return self.db[collection].insert_one(document)