These were not single quotes but backticks!!
Am 01.09.2014 um 14:07 schrieb [email protected]:
> Works after removing the single quotes.
>
>
>
> On Monday, September 1, 2014 12:42:02 PM UTC+1, Mark Findlater wrote:
> It looks like accountId is not the Node ID, is that correct? In which case I
> think that you should be using something like:
>
> Query("MATCH (account:`Account`) WHERE account.accountId IN {0} RETURN
> account")
> public List<Account> findAllByAccountId(Set<Long> ids);
>
> If you are using SDN (I think that you are?) and accountId is the Node Id
> then you could use the Built in CRUDRepository method findAll(Iterable<Long>
> ids)
>
> M
>
>
> On Monday, 1 September 2014 12:06:35 UTC+1, [email protected] wrote:
> Whats the correct cypher query to return all accounts matching the property
> "accountId" contained in a list.
>
> Here is my attempt.
>
> @Query("start account=node:(*) ID(account) in account.accountIds{accountIds}
> return account;")
>
> public List<Account> findAllByAccountId(Set<Long> ids);
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.