| Age | Commit message (Collapse) | Author |
|
|
|
Implemented regex operator using go flavored regular expressions.
Added optimization to combine regex's in `OR` clauses.
|
|
Executing external commands against file metadata is a serious
security risk.
The desired features of most external commands can be safely implemented
using SQLite native functions.
|
|
|
|
|
|
|
|
Add `Flatten` method to `query.Clause` which merges a parent clause with
its children.
The merge occurs if clauses have the same operator.
The merge transforms the tree similar to the examples below:
(+ (+ (+ (+ a b) c) d) e) -> (+ a b c d e)
(+ (+ a b) c (* d e)) -> (+ a b c (* d e))
|