package
0.0.0-20240904171813-b29f18b9ed1d
Repository: https://github.com/brianbroderick/lantern.git
Documentation: pkg.go.dev

# README

These files represent a SQL parser. Not all keywords are support yet as this is work in progress.

PG Tokens: https://www.postgresql.org/docs/13/sql-keywords-appendix.html

TODO:

Lexer Position is showing for peekTokenFour, not curToken (or maybe it needed to be peekToken)

VALUES: https://www.postgresql.org/docs/current/queries-values.html "values" provides a way to generate a constant table, with an example being used in a CTE

# Functions

No description provided by the author

# Constants

ORDER BY in a function call.
AND.
array[:index], array[index:], array[start:end].
AT TIME ZONE.
BETWEEN.
myFunction(X).
No description provided by the author
IN, LIKE, ILIKE, SIMILAR, REGEX.
No description provided by the author
==.
^.
FILTER i.e.
FROM i.e.
array[index].
IS, IS NULL, IS NOT NULL, IS DISTINCT FROM, IS NOT DISTINCT FROM.
->, ->>, #>, #>>, @>, <@, ?, ?&, ?|.
> or <.
These are different contexts that the parser can be in.
Most of the time, this is the lowest we go, except for when we're joining statements together such as with UNIONS.
NOT.
OR.
-X or !X.
*.
No description provided by the author
+.
UNION.
USING in a JOIN or an index.
OVER.
These are different contexts that the parser can be in.
These are different contexts that the parser can be in.
These are different contexts that the parser can be in.
These are different contexts that the parser can be in.
These are different contexts that the parser can be in.
These are different contexts that the parser can be in.
These are different contexts that the parser can be in.
These are different contexts that the parser can be in.
These are different contexts that the parser can be in.
These are different contexts that the parser can be in.
These are different contexts that the parser can be in.

# Structs

No description provided by the author