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

"condition" to "where" #31

Open
jinger89 opened this issue Aug 11, 2017 · 1 comment
Open

"condition" to "where" #31

jinger89 opened this issue Aug 11, 2017 · 1 comment

Comments

@jinger89
Copy link

Great little library, works well for me.

Would it be possible to rename the "condition" template to "where"? Almost all other keywords follow standard SQL naming, but "where" does not and is very puzzling. What was the reasoning behind that design choice?

@artzhookov
Copy link
Contributor

Good question =) There is no reasons to add new keywords. I agree that the where keyword looks more clear for SQL guys than the condition keyword.
So we could use the where as a main keyword and save the condition as an alias for backward compatibility.

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

No branches or pull requests

2 participants