📄️ 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
Definition
📄️ Drop Document
To drop a document you need to retrieve it from a collection first then delete it. This is particularly useful for managing or cleaning up data.
📄️ 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.