pub struct Query<'d> { /* private fields */ }
Implementations§
source§impl<'d> Query<'d>
impl<'d> Query<'d>
pub fn create<D>(db: D, query_string: &str) -> Result<Self, Error>where
D: Into<Supercow<'d, Database>>,
sourcepub fn search_messages<'q>(&'d self) -> Result<Messages<'q, Self>, Error>
pub fn search_messages<'q>(&'d self) -> Result<Messages<'q, Self>, Error>
Filter messages according to the query and return