edgedb_query/queries/filter.rs
1
2/// Filter trait represents a filter statment in a edgeDB select or update query
3pub trait Filter {
4 /// build the filter statment
5 /// __table_name__ : the edgedb table name
6 fn to_edgeql(&self, table_name: &str) -> String;
7
8 /// build the args object
9 fn to_edge_value(&self) -> edgedb_protocol::value::Value;
10}