Change Password

Input error
Input error
Input error
Submit

Change Nickname

Current Nickname:
Submit
Search
v4.0
    v4.0

    Batch Insert

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    schema = ULTIPA_REQUEST.Schema("default",
                               [
                               ULTIPA_REQUEST.Property("name", ULTIPA.PropertyType.PROPERTY_STRING),
                               ULTIPA_REQUEST.Property("age", ULTIPA.PropertyType.PROPERTY_INT32)]
                              )
    rows = []
    for i in range(1000):
        rows.append(ULTIPA.Node({"name":f"name{i}"}))
    ret = conn.InsertNodesBySchema(schema, rows,UltipaConfig(ULTIPA.InsertType.UPSERT))
    print(ret.toJSON())
    
    Please complete the following information to download this book
    *
    公司名称不能为空
    *
    公司邮箱必须填写
    *
    你的名字必须填写
    *
    你的电话必须填写
    *
    你的电话必须填写