It's not me post on stackoverflow. it work's with semicolon. thank you
Le mardi 15 avril 2014 12:23:10 UTC+2, Michael Hunger a écrit : > > There was a similar post on stackoverflow today, if that was yours - > please don't cross post. > > In Neo4j-Shell you have to use semicolons to separate your statements. > > create index on :`Uip`(`id`); > create constraint on (n:`AbstractUUIDNode`) assert n.`id` is unique; > create constraint on (n:`AbstractUUIDRelationship`) assert n.`id` is > unique; > > > Am 15.04.2014 um 12:14 schrieb vincent fraboulet > <[email protected]<javascript:> > >: > > Hello, > > After export some datas from a database, i want to import in another. > > The export begin like this: > > create index on :`Uip`(`id`) > create constraint on (n:`AbstractUUIDNode`) assert n.`id` is unique > create constraint on (n:`AbstractUUIDRelationship`) assert n.`id` is unique > ... > > If i put this lines in the neo4j browser (localhost:7474), it tells me: > > Invalid input 'c': expected whitespace, comment, ';' or end of input (line 2, > column 1) > "create constraint on (n:`AbstractUUIDNode`) assert n.`id` is unique" > > > But if a put only one line with create constraint, it's OK. If 2 or more, > error. > > > > It's the same if i try to import the file with the neo4j-shell -file > query.txt -path /data/graph.db/ > > > > What can i do? > Thanks > > -- > 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] <javascript:>. > 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.
