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

Unable to do OR query operations on column #2

Open
GoogleCodeExporter opened this issue Apr 7, 2016 · 0 comments
Open

Unable to do OR query operations on column #2

GoogleCodeExporter opened this issue Apr 7, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Apologies if you can do this, I was unable to find it in the documentation.

What steps will reproduce the problem?
1. Create some data which is for multiple years, say 2013 and 2014
2. Try and query based on this

What is the expected output? What do you see instead?

To match data which is in both 2013 and 2014.  Instead I can only get data for 
one year.

What version of the product are you using? On what operating system?
brig 1306

Please provide any additional information below.

  tbl.query_columns.push_back("Year");
  tbl["Year"]->query_value = 2013;
  tbl["Year"]->query_value = 2014;

This just overwrites the query_value with the last one.  You almost want to 
have query_value as a vector which you push back into, with them all been ORs.



Original issue reported on code.google.com by david.mo...@gmail.com on 25 Sep 2013 at 1:58

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

No branches or pull requests

1 participant