Hi,
first of all, I'd like to thank you for providing MongoLink on GitHub.
When trying out the criteria API I was wondering, why there is a method Restrictions.greaterThanOrEqual but no "greaterThan" or even "lessThan" respectively "lessThanEqual". The MongoDB QueryBuilder has all these methods (see http://api.mongodb.org/java/2.2/com/mongodb/QueryBuilder.html#lessThanEquals%28java.lang.Object%29 respectively http://api.mongodb.org/java/2.2/com/mongodb/QueryBuilder.html#lessThan%28java.lang.Object%29 )
So for me there are three questions:
- Are there plans to extend the Restrictions/RestrictionFactory for the missing operators like "lessThan", "lessThanEquals" or others?
- Is there a workaround for the issue?
- Is it possible to use a query built with MongoDB QueryBuilder to retrieve objects using MongoLink?
Regards,
Stefan
Hi,
first of all, I'd like to thank you for providing MongoLink on GitHub.
When trying out the criteria API I was wondering, why there is a method Restrictions.greaterThanOrEqual but no "greaterThan" or even "lessThan" respectively "lessThanEqual". The MongoDB QueryBuilder has all these methods (see http://api.mongodb.org/java/2.2/com/mongodb/QueryBuilder.html#lessThanEquals%28java.lang.Object%29 respectively http://api.mongodb.org/java/2.2/com/mongodb/QueryBuilder.html#lessThan%28java.lang.Object%29 )
So for me there are three questions:
Regards,
Stefan