Struct pliantdb_local::core::connection::View [−][src]
pub struct View<'a, Cn, V> where
V: View, { pub key: Option<QueryKey<<V as View>::Key>>, pub access_policy: AccessPolicy, // some fields omitted }
Expand description
Parameters to query a schema::View
.
Fields
key: Option<QueryKey<<V as View>::Key>>
Key filtering criteria.
access_policy: AccessPolicy
The view’s data access policy. The default value is AccessPolicy::UpdateBefore
.
Implementations
Filters for entries in the view with key
.
Filters for entries in the view with keys
.
Filters for entries in the view with the range keys
.
Sets the access policy for queries.
Executes the query and retrieves the results.
Executes the query and retrieves the results with the associated Document
s.
Executes a reduce over the results of the query
Auto Trait Implementations
impl<'a, Cn, V> RefUnwindSafe for View<'a, Cn, V> where
Cn: RefUnwindSafe,
<V as View>::Key: RefUnwindSafe,
impl<'a, Cn, V> UnwindSafe for View<'a, Cn, V> where
Cn: RefUnwindSafe,
<V as View>::Key: UnwindSafe,