Type Definition bonsaidb_core::schema::view::map::ViewMappings

source ·
pub type ViewMappings<V> = Vec<CollectionMap<<<V as View>::Collection as Collection>::PrimaryKey, <V as View>::Key, <V as View>::Value>>;
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.