-
Notifications
You must be signed in to change notification settings - Fork 9
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
Best way to do Or queries ? #17
Comments
I'm afraid this will need an extension of the <query>
<condition>
<field>firstname
<expression op="equals">Joe</expression>
</field>
</condition>
<condition operator="OR">
<field>lastname
<expression op="equals">Brown</expression>
</field>
</condition>
</query> Basically what's missing is the addition of the |
Okay I'll clean the data after I retrieve it all. I'll try to find some time to look into the queryxml method more in depth and see if i can propose a solution. Thanks @scoop |
I'm not a ruby developer, but I previously hacked something together for more complex queries (perhaps some of it might be of use?): |
Interesting how you added the |
I want to pull back all tImeEntry records that have a type of 1 or 2. how would i go about constructing that using an add_condition block ?
The text was updated successfully, but these errors were encountered: