Simple question: I'm using Neo4-OGM (with Quarkus) to interact with my Neo4J DB (latest version).
I have an entity "Contact" and I added the @Labels to be able to manage extra labels at runtime.
@NodeEntity
public class Contact {
@Id
@GeneratedValue(strategy = UuidStrategy.class)
private String identifier;
// some properties and relations...
@Labels
private List<String> labels;
}
This will work fine.
But now, I would like to querying my DB using the methods loadAll with Filters instead of writing by myself a cypher query.
Unfortunately, I cannot see how I could get any equivalent of the following cypher query:
MATCH (n:`Contact`:`Label_added_in_labels`) RETURN n
Is it supported? Or I will have to write the cypher by myself? (That's fine but I don't want to write them if it's not needed).