📄️ Insert Document
The zkDatabase library provides the insert method to add new documents to a specified collection within a database. This method supports both basic and advanced usage, allowing you to specify detailed permissions for different users or groups.
📄️ Update Document
Update an existing document with new field values.
📄️ Drop Document
Delete a document from the collection.
📄️ Find Document
The findOne and findMany methods are used to retrieve documents from a collection in a Zero-Knowledge Database (zkDatabase). These methods allow querying the database based on specified criteria, supporting both single document fetches and bulk retrievals.
📄️ Merkle Tree
After obtaining a Document instance, you can utilize these methods to examine
📄️ Document History
Retrieve the history of changes for a document.
📄️ Document Metadata
Access metadata information for a document.