jakartaee / nosql

The specification in Jakarta EE to help Jakarta EE developers create enterprise-grade applications using Java® and NoSQL technologies.
https://projects.eclipse.org/projects/ee4j.nosql
Eclipse Public License 2.0
92 stars 28 forks source link

Improve Query to both Document and Column communication API #91

Closed otaviojava closed 2 years ago

otaviojava commented 2 years ago

Ref: https://github.com/eclipse-ee4j/nosql/issues/90

amoscatelli commented 2 years ago

@otaviojava this looks good Does this also support comparing a column vs another column or it supports only a value ? It seems the latter atm.

For example "find every document where field1 >= field2".

Criteria API supports this by using expressions.

otaviojava commented 2 years ago

@amoscatelli so merged. About the question, it is a good point; however, we don't have support on it yet.

amoscatelli commented 2 years ago

@otaviojava ok ! I am going to integrate this today. We'll open a separate issue about the question, I suppose.