Skip to content
Discussion options

You must be logged in to vote

As you are trying to access nested property, those infix extension methods are not usable here. You can call the find method on repo as below:

import org.dizitart.no2.objects.filters.ObjectFilters.eq

...
repo.find(eq("endA.nodeRef", id) or eq("endB.nodeRef", id))

The extension methods are only for top-level properties.

Replies: 0 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@mghaigh
Comment options

@mghaigh
Comment options

@anidotnet
Comment options

Answer selected by anidotnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
nitrite-java Nitrite for Java
2 participants