update some names and move some parser out of the lib.rs

This commit is contained in:
Tamo
2021-10-22 01:59:38 +02:00
parent 7e5c5c4d27
commit 01dedde1c9
8 changed files with 318 additions and 285 deletions

View File

@ -34,7 +34,8 @@ mod query_tree;
pub struct Search<'a> {
query: Option<String>,
filter: Option<FilterCondition>,
// this should be linked to the String in the query
filter: Option<FilterCondition<'a>>,
offset: usize,
limit: usize,
sort_criteria: Option<Vec<AscDesc>>,