pub trait Filter {
    // Required methods
    fn to_edgeql(&self, table_name: &str) -> String;
    fn to_edge_value(&self) -> Value;
}
Expand description

Filter trait represents a filter statment in a edgeDB select or update query

Required Methods§

source

fn to_edgeql(&self, table_name: &str) -> String

build the filter statment table_name : the edgedb table name

source

fn to_edge_value(&self) -> Value

build the args object

Implementors§