I was trying to query my node Person by its internal ID and the code of its City like this:
Optional<Person> findByIdAndCityCode(Long id, String cityCode);
but the generated query behind this tries to access the ID as a property, like this:
So my current model of Person contains
@Relationship(type = PROVIDES_SUPPORT, direction = INCOMING)
private Map<Person, List<SupportRelationship>> supporters = new HashMap<>();
Those are the people that "support" the current Person (let's say Ange...
Why do you need to specify the database name?
You could only have one database running and pointing at the specific URI,...
I was referring to this ID regarding the "internal ID", Person node inside my DB:
while in my Node Java fila I have:
private Long id;
findById queries by that ID correctly -> id(person) = $0, while the personRepository.findBy...