3
0

9 Commits

Author SHA1 Message Date
Denis Arh
4c29350486 More strict checking for ql operators
This prevents a couple of SQL injection attacks through QL
2020-12-09 11:11:42 +01:00
Denis Arh
720dc38da6 Port compose record builder 2020-08-29 15:00:43 +02:00
Denis Arh
9f3a00c0e2 pkg/ql refactoring, add proper bool literal handling 2020-04-30 13:32:59 +02:00
Denis Arh
7f0fcc72b9 Add @todo for IN operator support in pkg/ql 2020-03-04 12:28:58 +01:00
Denis Arh
63e3cff8ab Add tests, improve parsing of nested expressions 2019-12-02 10:46:27 +01:00
Tomaž Jerman
be1420f1bc Fix QL parsing for nested expressions & formatting
Parsing:
((A) AND (B)) got parsed into [ASTNodes{A}] istead of
[ASTNodes{A}, ASTNode{AND}, ASTNodes{B}].

Formatting into SQL:
[ASTNodes{A}, ASTNode{AND}, ASTNodes{B}] got formatted
into A AND B instead of (A) AND (B).
2019-12-02 09:58:29 +01:00
Denis Arh
780f4094a0 Update squirrel lib, move from gopkg.in to github.com 2019-10-29 10:06:14 +01:00
Denis Arh
bd281ff21b Improve ql to support <ident>.<ident> syntax 2019-10-29 10:06:14 +01:00
Denis Arh
8db0c424ed Move ql package out of compose and under pkg/ 2019-10-29 10:06:14 +01:00