Add sqlite filter builder. Add AND, OR, NOT filters to scene filter (#1115)

* Add resolution enum extension
* Add filter builder
* Use filterBuilder for scene query
* Optimise joins
* Add binary operators to scene query
* Use Query for auto-tag
This commit is contained in:
WithoutPants
2021-03-02 11:27:36 +11:00
committed by GitHub
parent 117e6326db
commit 1850a2b533
11 changed files with 1512 additions and 186 deletions

View File

@@ -103,7 +103,7 @@ func getSearchBinding(columns []string, q string, not bool) (string, []interface
notStr := ""
binaryType := " OR "
if not {
notStr = " NOT "
notStr = " NOT"
binaryType = " AND "
}