DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Store MongoDB

JDOQL : Support multiple AND clauses on same field

Created: 29/Aug/11 09:33 AM   Updated: 03/Oct/11 07:40 AM   Resolved: 29/Aug/11 09:34 AM
Component/s: Query
Affects Version/s: None
Fix Version/s: 3.0.2

 Description  « Hide
We currently only support one boolean expression on a particular field. That is we cannot support

SELECT ... WHERE fld1 < 4 && fld1 >= 2

We ought to support this, generating a filter of
"fld1" : { $lt: 4, $gte: 2 } }

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 29/Aug/11 09:34 AM
SVN trunk allows this