Issue Details (XML | Word | Printable)

Key: NUCMONGODB-54
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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