Neil O'Toole
9ec1b85d37
Misc dep updates; switch to newer antlr version ( #300 )
2023-08-12 13:26:25 -06:00
Neil O'Toole
7396aadb9e
#12 : multiple joins ( #280 )
...
* The query language now supports multiple joins.
2023-07-03 09:34:19 -06:00
Neil O'Toole
e93f462fff
#254 : explicit where() clause ( #255 )
...
Implement explicit `where()` clause.
2023-06-16 22:54:25 -06:00
Neil O'Toole
9a1c6a7d09
Feature/173 args ( #183 )
...
- Implement --arg feature
- Refactor sqlbuilder package (now called "render").
- Bug fixes, especially around expressions.
2023-04-07 02:00:49 -06:00
Neil O'Toole
3f6157c4c4
Change logging library to slog ( #175 )
...
- Switch to slog logger.
2023-04-02 13:49:45 -06:00
Neil O'Toole
29e33ed2b1
Implement unique / DISTINCT ( #165 )
...
- Implemented "unique" function
- Implemented "count_unique" function
2023-03-28 00:48:24 -06:00
Neil O'Toole
9746f4c1a2
orderby() ( #159 )
...
* wip: orderby impl
* Tests passing (note: ast.checkASTIntegrity is disabled)
* ExprNode now rendered via renderSelectorNode
* linting
* CHAGELOG for v0.27.0
2023-03-25 19:20:53 -06:00
Neil O'Toole
a1a89ee9dd
Support table and column names with spaces. ( #156 )
...
* sakila: initial test data
* sakila: more test data
* sakila: yet more test data setup
* whitespace cols: now working for sqlite
* grammar cleanup
* whitespace cols: now working inside count() func for sqlite
* whitespace cols: tests mostly passing; begining refactoring
* grammar: refactor handle
* grammar: more refactoring
* grammar: rename selElement to selector
* wip
* all tests passing
* all tests passing
* linting
* driver: implement CurrentSchema for all driver.SQLDriver impls
* driver: tests for AlterTableRename and AlterTableRenameColumn
* undo reformat of SQL
* undo reformat of SQL
* undo reformat of SQL
* undo reformat of SQL
2023-03-22 00:17:34 -06:00
Neil O'Toole
d3e6f89829
SLQ support for column aliases ( #150 )
...
* alias: more early work
* alias: test cases working for sqlite
* alias: SQL builder tests
* alias: func (col expr) aliases now working for SQLite
* linting
* CHANGELOG update
* Docs update
* Docs update
* Rename buildAst() -> buildAST()
* CHANGELOG typo
2023-03-18 22:58:00 -06:00
Neil O'Toole
0a627a7b6f
Chore/antlr 4.11.1 upgrade ( #130 )
...
* baseline seems to be working
* Updated to antlr4
* few more module upgrades
2022-12-23 21:43:20 -07:00
Neil O'Toole
c778c8ced5
Linting of _test.go files ( #121 )
...
* test linting
* test linting
* test linting
* test linting
2022-12-18 00:18:35 -07:00
Neil O'Toole
98e91bae51
Bunch of linting issues ( #96 )
...
* linting
* linting
* linting
* linting
* linting
* cleaned up readme trailing newlines
2021-09-12 16:14:30 -06:00
Neil O'Toole
e4cc68b714
Slq move ( #67 )
...
* moved it
* what used to be libsq/slq in now libsq/ast/internal/slq
2020-08-23 05:16:16 -06:00
Neil O'Toole
fd4ae53f31
codebase refactor
2020-08-06 11:58:47 -06:00