Multiple value support for JQL `commitProperty`
See original GitHub issueCurrently there is no way to query on a commit property with multiple values using “IN” semantics, instead you have to query multiple times which is very inefficient:
Sets.newHashSet("1b2e", "8f32").stream()
.flatMap(v -> javers.findSnapshots(QueryBuilder
.byClass(myClass)
.withCommitProperty("traceId", v)
.build()).stream());
It would be much nicer to be able to simply query by multiple property values, for example:
javers.findSnapshots(QueryBuilder
.byClass(myClass)
.withCommitProperties("traceId", Sets.newHashSet("1b2e", "8f32"))
.build());
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
JQL (JaVers Query Language) examples
Child-value-object — JaVers loads all child Value Objects owned by selected Entities. ... Single query can specify more than one commit property.
Read more >Advanced search reference - JQL operators - Atlassian Support
The " IN " operator is used to search for issues where the value of the specified field is one of multiple specified...
Read more >javers - Bountysource
Currently I have a commit property I wish to use as filter, ... Mongodb supports multiple documents transaction of multiple collections starting version...
Read more >Write JQL Query | Mixpanel Developer Docs
This reference documentation for the JQL API makes it possible for Mixpanel users to write JavaScript ... reduce() - aggregating many input values...
Read more >JQL - Search for value in multiple fields by typing it once
Not sure if it is not too wide approach but using simply text ~ "value". searches in all searchable text fields in issues....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This seems like a straight-forward enhancement so I could probably contribute, but unfortunately it has to be outside of work time.
released in 6.4.1