malteseduck / spring-data-marklogic

An implementation of the Spring Data interfaces for the MarkLogic NoSQL database
Apache License 2.0
7 stars 9 forks source link

Add QueryCriteria to easily make flexible query objects #43

Closed malteseduck closed 6 years ago

malteseduck commented 6 years ago

There are many times when you want to accept some criteria being passed into a REST API or GraphQL input and want to turn that into a query against the database. Need a way to simply define that criteria for an entity and allow it to be passed to an executor so that there isn't a need for a lot of object transformation code to build ML queries.