I followed this document: https://javers.org/documentation/jql-examples/#property-filter
to implement JQL in my services:
...
if (auditCriteria.getToCommitDate() != null) {
builder.to(auditCriteria.getToCommitDate());
}
builder.withChangedProperty("name");
JqlQuery jqlQuery = builder
.withNewObjectChanges()
.build();
return javers.findChanges(jqlQuery);
But I have 2 changed properties need to filter: name, key.
Then my question is how can I use OR sematic for changed properties.
For example:
builder.withChangedPropertyIn(Lists.newArrayList("name", "key"));
I have put the question on Stackoverflow as well.
https://stackoverflow.com/questions/59074564/javers-and-spring-boot-changed-property-filter-for-multi-properties
I am very appreciated JaVers team who created nice audit open source. Thank you so much JaVers Team.
I followed this document: https://javers.org/documentation/jql-examples/#property-filter
to implement JQL in my services:
...
But I have 2 changed properties need to filter:
name,key.Then my question is how can I use
ORsematic forchanged properties.For example:
builder.withChangedPropertyIn(Lists.newArrayList("name", "key"));I have put the question on Stackoverflow as well.
https://stackoverflow.com/questions/59074564/javers-and-spring-boot-changed-property-filter-for-multi-properties
I am very appreciated JaVers team who created nice audit open source. Thank you so much JaVers Team.