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 patch operations to MarkLogicOperations #27

Open malteseduck opened 6 years ago

malteseduck commented 6 years ago

Add basic methods that help do patches on entities. Maybe just take the entities and a patch handle? A more complicated solution could maybe leverage some annotations or an interface to determine what needs to be updated? Or only take non-null.

The simplest is to let them define the patch operations using the builder. Probably the best, too.