You can have all the referential data in the graph and query it quickly.

e.g.
MATCH (c:Country) RETURN c

or

MATCH (c:Country) RETURN {id:c.code, name:c.name}

or

MATCH (c:Country) RETURN c.code as id, c.name as name



On Fri, Apr 21, 2017 at 9:14 AM, <[email protected]> wrote:

> Hi there,
>
> let's say I have entities related to countries in my graph. I've created a
> form in which a user can create an entity, let's say a shop. In this form,
> I would like the user to choose the city of the shop from a combo box. I'm
> wondering what is the best approach : get all the countries from the graph
> with a cypher query or have all the countries (and other referential data)
> in another database (relational or nosql or whatever), and then populate my
> comboboxes  ? Or is there a better approach ?
>
> Thanks for your time,
> Didier
>
> --
> 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.

Reply via email to