Change Password

Please enter the password.
Please enter the password. Between 8-64 characters. Not identical to your email address. Contain at least 3 of uppercase, lowercase, numbers, and special characters (such as @*&#).
Please enter the password.
Submit

Change Nickname

Current Nickname:
Submit

Certifications

Certificate Issued at Valid until Serial No. File
Serial No. Valid until File

Not having one? Apply now! >>>

Invoice

ProductName CreateTime ID Price File
ProductName CreateTime ID Price File
v4.0
Search
    中文EN
    v4.0

      Batch Insert

      High-Performance API

      // insert 10000 nodes to a schema
      schema := &structs.Schema{
          Name: "User",
          Properties: []*structs.Property{
              {
                  Name: "name",
                  Type: ultipa.PropertyType_STRING,
              },
              {
                  Name: "age",
                  Type: ultipa.PropertyType_INT32,
              },
          },
      }
      
      var nodes []*structs.Node
      
      for i := 0; i < 10000; i++ {
          newNode := structs.NewNode()
          newNode.Set("name", "demo")	// set property 'name' with string 'demo'
      	newNode.Set("age", int32(i))		// set property 'age' with integer i
          nodes = append(nodes, newNode)
      }
      
      _, err := client.InsertNodesBatchBySchema(schema, nodes, &configuration.RequestConfig{
          InsertType: ultipa.InsertType_OVERWRITE,
      })
      
      if err != nil {
          log.Fatalln(err)
      }
      

      Other APIs

      • InsertNodesBatchBySchema
      • InsertNodesBatch
      • InsertNodesBatchAuto
      • InsertEdgesBatch
      • InsertEdgesBatchBySchema
      • InsertEdgesBatchAuto
      Please complete the following information to download this book
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写
      *
      你的电话必须填写