Set label to node while creating it using official neo4j python driver

How to set label to a node while creating it. I'm using following query to create the node:"CREATE (x) set x = $dict_param", parameters={'dict_param' : {'itemName':'Jacket', 'price':2199}) and want to set label 'itemName' to it.

Hello @ranjanr331 :slight_smile:

You have to use APOC since it's not possible in classic Cypher.
    query="CALL apoc.create.node([$dict_param.itemName], $dict_param)",
    parameters={'dict_param': {'itemName': 'Jacket', 'price': 2199}


okay. Will try this one :+1: :+1: