[][src]Module vinyl_embly::query

define complex queries

use vinyl_core::query::field;
use vinyl_core::proto::example;
use vinyl_core::proto::example::Flower;

let query = field("price").less_than(50) &
   field("flower").matches(
       field("type").equals("ROSE")
   );

Structs

Field

Context for asserting about a field value

Query

Query is the basic component of all queries. Every query expression outputs a Query. Query is not used directly except for in the case of Query::not

Functions

field

start the construction of a field value