No dynamic labels I'm afraid.
if you add nodeId and name to props you can do
CREATE (n:Label)
SET n = {props}
Michael
Am 14.04.2014 um 18:29 schrieb Koala D <[email protected]>:
> Hi guys~
>
> I want to have a query that looks something like
>
> query: CREATE (n:{label} {nodeId: {nodeId}, name:{name}, {props} }) RETURN n
> params: {
> "label": thing-label,
> "nodeId": uuid,
> "name": thing-name,
> "props": {
> "additionalProp1": "prop1",
> "additionalProp2": "prop2"
> }
> }
>
> Is this possible???
>
>
> --
> 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.