aboutsummaryrefslogtreecommitdiffstats
BranchCommit messageAuthorAge
master0.2.1Gravatar Peter McGoron 3 years
upsilonadd communications testGravatar Peter McGoron 3 years
 
TagDownloadAuthorAge
0.2.1commit 6469970fd0...Gravatar Peter McGoron 3 years
0.2.0commit 295b1da8c0...Gravatar Peter McGoron 3 years
0.1.0commit d14c655f6a...Gravatar Peter McGoron 3 years
e /can/ do is have SELECT statements come from other SELECT statements. A query like (X & Y & Z) | (A & B & C) in pseudo-SQLite becomes SELECT * FROM ( SELECT * FROM tbl WHERE name IN X INTERSECTION SELECT * FROM tbl WHERE name IN Y INTERSECTION SELECT * FROM tbl WHERE name IN Z ) UNION SELECT * FROM ( SELECT * FROM tbl WHERE name IN A INTERSECTION SELECT * FROM tbl WHERE name IN B INTERSECTION SELECT * FROM tbl WHERE name IN C ) One future optimization would be to group all literals at a certain level with each other, so that there are less direct queries to the entire tag table. 2021-07-26queryparse: use demorgan's laws to simplify parsed expressionGravatar Peter McGoron 2-1/+17 2021-07-26update README.mdGravatar Peter McGoron 1-0/+10 2021-07-26queryparse: collect literals into set and return itGravatar Peter McGoron 2-16/+22 2021-07-26gitea wants .md suffixes for web renderingGravatar Peter McGoron 2-0/+0 2021-07-26example/query.md: change to what the code actually implementsGravatar Peter McGoron 1-3/+3