Module bonsaidb::core::schema

Expand description

Types for defining database schema.

Modules

  • Types for defining map/reduce-powered Views.

Structs

Enums

  • A reference to a collection that has a unique name view.

Traits

Type Definitions

Derive Macros

  • Derives the bonsaidb::core::schema::Collection trait. #[collection(authority = "Authority", name = "Name", views = [a, b, c])]
  • Derives the bonsaidb::core::schema::Schema trait.
  • Derives the bonsaidb::core::schema::View trait.
  • Derives the bonsaidb::core::schema::ViewSchema trait. #[view_schema(version = 1, policy = Unique, view=ViewType, mapped_key=KeyType<'doc>)]