Change Password

Input error
Input error
Input error
Submit

Change Nickname

Current Nickname:
Submit
v4.0

Modification

Update Node

  • The Connection object provides method updateNode to update nodes.

    from ultipa import Connection, ULTIPA_REQUEST, ULTIPA
    conn = Connection(host='host:port', username="root", password="root")
    # Update a node by specifying uuid
    ret = conn.updateNode(ULTIPA_REQUEST.UpdateNode(uuid=1, values={'age': 1}))
    # Update nodes by specifying filtering conditions
    nodeFilter = ULTIPA_REQUEST.UltipaFilter(filterType=FilterEnum.EQ, property='age',
                                         value=1, schema='default')
    ret = conn.updateNode(ULTIPA_REQUEST.UpdateNode(filter=nodeFilter, values={'age': 2}))
    print(ret.toJSON())
    

Update Edge

  • The Connection object provides method updateEdge to update edges.

    from ultipa import Connection, ULTIPA_REQUEST, ULTIPA
    conn = Connection(host='host:port', username="root", password="root")
    # Update an edge by specifying uuid
    ret = conn.updateEdge(ULTIPA_REQUEST.UpdateEdge(uuid=1, values={'rank': 2}))
    # Update edges by specifying filtering conditions
    edgeFilter = ULTIPA_REQUEST.UltipaFilter(filterType=FilterEnum.EQ, property='rank', 
      									value=2, schema='default')
    ret = conn.updateEdge(ULTIPA_REQUEST.UpdateEdge(filter=edgeFilter, values={'rank': 12}))
    print(ret.toJSON())
    
Please complete the following information to download this book
*
公司名称不能为空
*
公司邮箱必须填写
*
你的名字必须填写
*
你的电话必须填写
*
你的电话必须填写