-
More info at http://www.postgresql.org/docs/8.2/static/sql-syntax-lexical.html
Tricky bit is handling escape codes, this will complicate the query tokenizing logic quite a bit.
-
When I preform a query looking like `SELECT * FROM table WHERE field LIKE '%?%'` I get a panic like: `unbound query argument ? or ?fields`. This is bad on multiple levels. Panicking in response to in…
-
### Search first
- [X] I searched and no similar issues were found
### Description
I admit I'm not 100% sure I understand how and why the `StringClauses` class is used for creation of SQL statement…
-
## Make AST safe by constructions.
I'm almost sure that some recursion points in SqlF are in wrong places. E.g. it's possible to create `CASE` and print it but the output isn't correct sql^2 and e…
-
Real cool project however I have a question about prefix support.
I have some tables that are shared across multiple microservices in my cluster and some of those are not ecto (or elixir) based. T…
-
The below test fails because the `from bogus` comes after and `table_from_sql` grabs the word following the last from. This is so brittle: wonder what we can do better...
``` diff
diff --git a/tests/…
-
Ransack 2.4.2 (and 2.3.2, likely back to adding Rails 5.0 support b/c left_outer_joins changes) has an issue with failing to reuse pre-existing LEFT OUTER JOINS.
I'd hope that Postgres would optimi…
-
Any help would be much appreciated:
I'm using the SQL Lexer with custom keywords. I've found that keywords are to be separated by TAB or Space when assigned using the .SetKeywords() method.
I'm…
-
Let us allow the user to use curly braces to define and fence off (1) subqueries, (2) UNIONs and (3) UNION ALLs; collectively we will call these constructs "curly-brace constructs." For the syntactica…
-
**Before you file an issue**
- [x] Make sure you specify the "read" dialect eg. `parse_one(sql, read="spark")`
- [x] Make sure you specify the "write" dialect eg. `ast.sql(dialect="duckdb")`
- [x] …