Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify query structure #16

Merged
merged 7 commits into from
May 17, 2017
Merged

Simplify query structure #16

merged 7 commits into from
May 17, 2017

Conversation

kashav
Copy link
Owner

@kashav kashav commented May 17, 2017

See #10.

Allow SELECT keyword (+ attributes) to be omitted (if no attribute is provided,
defaults to `all`).

Allow quote-less queries (space-separated conditional values should still be
wrapped in quotes).
* master:
  Improve identifier character support
Throws error when:
  - WHERE (keyword) isn't provided, but identifer is;
  - WHERE (keyword) is provided, but identifier isn't (or identifier isn't
    complete).

Returns correct error on **empty** condition tree (either io.ErrUnexpectedEOF,
ErrUnexpectedToken, or ErrUnknownToken).
@kashav kashav mentioned this pull request May 17, 2017
4 tasks
Escape parens in usage example, fix "conditon" typo
@kashav kashav merged commit a6c3339 into master May 17, 2017
@kashav kashav deleted the refactor/query-structure branch May 17, 2017 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant