-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adding optional constructor to WhereClause #27
Comments
That kinda defeats the point of |
oh oh oh! Here's one. Okay, instead of making it an optional constructor, we instead update the SqlStatement to contain a function "where(String clause)". This way you don't need to go |
or make the optional constructor package-private so |
With either idea, we would be able to make the |
I was just making a quick scratch up to see how this would look like and realized that these ideas have no way of conveying the |
Meaning, the code for the constructor & function will be in there on my next commit, but are commented out. |
Or, instead of a constructor, we could have a "parse" function, so it's like "WhereClause.parse(String clause)" |
When creating a WhereClause object, to make syntax shorter there could be an optional constructor in which you pass in some sort of string that sets the internal variables of the object.
Ex:
The text was updated successfully, but these errors were encountered: