📄️ Create a Collection
The zkDatabase library provides the functionality to create a collection, which serves as a structured grouping of documents similar to a table in a relational database. In a zkDatabase, each collection is defined by a schema that allows the representation of data both as human-readable JSON and in a cryptographically provable format suitable for zero-knowledge (ZK) circuits. This dual representation ensures data is both easily manageable and secure, supporting advanced privacy-preserving operations.
📄️ Collection Management
---
📄️ Collection Index
Index management for a collection via collection(name).index.
📄️ Collection Metadata & Permission
Manage collection ownership and access control for a specific collection via collection(name).metadata. These APIs let you inspect current ownership/permission and update the owner (user or group) or the permission policy.