Asdine El Hrychy
daf4f79e9f
Fix field name when using alias ( #424 )
...
This fixes a bug where using AS wouldn't rename the field
2021-07-24 18:31:53 +04:00
Jean Hadrien Chabran
e556fc3048
Add functions packages support ( #419 )
...
* Add packaged functions support
* Add tests for math.floor func
* Export FunctionsTable
* Extract func stuff into its own package
* Rename stuff
* Fix tests
* Move doc package to cmd/genji
* Adjust naming, typos
2021-07-17 13:07:16 +02:00
Asdine El Hrychy
0d10465ba3
Make SELECT open a read-write tx when using NEXT VALUE FOR
2021-06-27 16:20:02 +04:00
Jean Hadrien Chabran
c00e6b046f
Add union all clause ( #408 )
...
* Lay out the base for UNION stmt
* Optimize sub streams when there is a concat op
2021-06-05 16:22:45 +02:00
Asdine El Hrychy
9918cd6f55
Thread safe statements ( #406 )
...
Previously, expressions and params were evaluated
during the planning phase. This change builds the query
plan without evaluating params and expressions
which are then evaluated only during the execution phase.
2021-06-04 10:56:23 +04:00
Asdine El Hrychy
7a98a2025f
Move statements into their own package
2021-05-30 12:47:17 +04:00
Asdine El Hrychy
1a3d4f57a9
Move stream building to query package
2021-05-23 23:50:18 +04:00
Asdine El Hrychy
f402374ca3
Move parser to internal package
2021-05-23 21:03:11 +04:00