Just set them as regular attribute, like "id" or "_id", you should also create a constraint on that label + id. e.g.
create constraint on (p:Person) assert p.id is unique; The internal Neo4j id's are not meant for that purpose. > Am 17.05.2017 um 14:47 schrieb Andre Soares <[email protected]>: > > I'm working with two relational and non relational banks. I need the > relational IDs to be attributes for nodes in the non relational database, but > Neo4j does not allow the generation of these attributes. > > -- > 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.
