ruroonga_expr 0.2.0

A tiny Groonga expression builder and generator.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod logical_and_builder;
pub mod logical_or_builder;
pub mod logical_not_builder;
pub mod group_builder;

pub type Query = Vec<String>;
pub trait Fragmentable {
    /// Make groonga expression fragment.
    fn to_fragment(self) -> Query;
}

pub trait Groupable {
    /// Make groupable groonga expression fragment.
    fn to_group(self) -> Query;
}