Expand description
Macros BonsaiDb.
Derive Macrosยง
- Api
- Derives the
bonsaidb::core::api::Apitrait. - Collection
- Derives the
bonsaidb::core::schema::Collectiontrait.#[collection(authority = "Authority", name = "Name", views = [a, b, c])] - File
Config - Derives the
bonsaidb::files::FileConfigtrait. - Key
- Derives the
bonsaidb::core::key::Keytrait. - Schema
- Derives the
bonsaidb::core::schema::Schematrait. - View
- Derives the
bonsaidb::core::schema::Viewtrait. - View
Schema - Derives the
bonsaidb::core::schema::ViewSchematrait.#[view_schema(version = 1, policy = Unique, view=ViewType, mapped_key=KeyType<'doc>)]