pub type ViewMappings<V> = Vec<CollectionMap<<<V as View>::Collection as Collection>::PrimaryKey, <V as View>::Key, <V as View>::Value>>;
👎Deprecated since 0.5.0: ViewMappings has been moved to bonsaidb_core::schema::view::ViewMappings
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.

This type alias is being moved to schema::view::map::ViewMappings and will be removed in v0.6.0.

Aliased Type§

struct ViewMappings<V> { /* private fields */ }