Macro bonsaidb::core::define_basic_unique_mapped_view [−][src]
macro_rules! define_basic_unique_mapped_view {
($view_name : ident, $collection : ty, $version : literal, $name : literal,
$key : ty, $mapping : expr $(,) ?) => { ... };
($view_name : ident, $collection : ty, $version : literal, $name : literal,
$key : ty, $value : ty, $mapping : expr $(,) ?) => { ... };
}
Expand description
Defines an unique view named $view_name
for $collection
with the
mapping provided.