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

Optional execution in conjunction with select on {var} #490

Open
shimonchayim opened this issue Jun 7, 2012 · 1 comment
Open

Optional execution in conjunction with select on {var} #490

shimonchayim opened this issue Jun 7, 2012 · 1 comment
Assignees
Labels

Comments

@shimonchayim
Copy link
Member

Currently if we don't want select (or delete) on a proper table to not get executed if a param is empty then we do
select * from A where a = "{^var1}"

If A is variable and var1 is empty then the statement doesn't get executed as expected but if var1 is not empty then the filter goes into effect and unlike select on table, where clause does have ramifications on the result.

We may need to think about a way where select on a {var} can be made optional without tying it to the where clause.

@ghost ghost assigned shimonchayim Nov 26, 2012
@jasxie
Copy link

jasxie commented Nov 26, 2012

let's discuss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants