Support selecting literals only
tomharmon opened this issue · comments
Thomas Harmon commented
In standard SQL you may select literals without a table, eg SELECT 1 + 1;
. This is not supported by nom-sql
but in a perfect world it would be.
comment from @spazm (on the bump nom to v5
PR):
nested_selection could attempt to parse with something more specific than field_definition_expr like field_definition_literals(hypothetical) which would parse without the FROM (or FROM as optional).