the id(node) is an internal id (like a row-id or mongo's internal document id). It is generated and also reused from deleted nodes.
If you don't share the id with an external system or users you can use it to identify a node e.g. within a transaction or within an import session. If you share the id externally you have to deal with the potential reuse. Usually for external identification people use business ids like email, SSN, ISBN etc. Cheers, Michael On Mon, Dec 5, 2016 at 5:26 PM, grimace <[email protected]> wrote: > I'm using cypher to import from mongodb ( via csv ). I'm wondering about > the 'id' field. Is it normally autogenerated. If so, why dont my records > have an 'id' property. Can/should 'id' be used for identification? > > -- > 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.
