Type Definition bonsaidb::core::schema::view::map::ViewMappings

pub type ViewMappings<V> = Vec<CollectionMap<<<V as View>::Collection as Collection>::PrimaryKey, <V as View>::Key, <V as View>::Value>, Global>;
Expand description

This type is the result of query(). It is a list of mappings, which contains:

  • The key emitted during the map function.
  • The value emitted during the map function.
  • The source document header that the mappings originated from.