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

      Property Management

      Get Property

      Get one property info

      // Get info of node property @user.name 
      prop, _ := client.GetProperty("user", "name", ultipa.DBType_DBNODE, nil)
      log.Println(prop)
      

      Create Property

      Create property for target Schema

      // Create node property
      newNodeProp := &structs.Property{
          Name: "name",
          Type: ultipa.PropertyType_STRING,
      }
      
      resp, _ := client.CreateProperty("target_schema", ultipa.DBType_DBNODE, newNodeProp, nil)
      log.Println(resp.Status.Code)
      
      
      // Create edge property
      newEdgeProp := &structs.Property{
      	Name: "type",
      	Type: ultipa.PropertyType_STRING,
      }
      
      resp2, _ := client.CreateProperty("target_schema", ultipa.DBType_DBEDGE, newEdgeProp, nil)
      log.Println(resp2.Status.Code)
      

      Create Property If Not Exist

      Same function as 'Create Property', return true if the property already exists, return false and create property if the property does not exist yet

      isExist, _ := client.CreatePropertyIfNotExist("target_schema", ultipa.DBType_DBEDGE, newEdgeProp, nil)
      log.Println(isExist)
      

      Alter Property

      // Edit node property @user.name as @user.username and overwrite its description
      propNode := &structs.Property{
        Name: "username",
        Desc: "change property name from name to username",
      }
      resp, _ := client.AlterNodeProperty("@user.name", propNode, nil)
      log.Println(resp)
      
      // Edit edge property @relation.category as @relation.type and overwrite its description
      propEdge := &structs.Property{
          Name: "type",
          Desc: "change property name from category to type",
      }
      resp2, _ := client.AlterEdgeProperty("@relation.category", propEdge, nil)
      log.Println(resp2)
      

      Drop Property

      // Delete node property @user.name
      resp, _ := client.DropNodeProperty("@user.name", nil)
      log.Println(resp)
      
      // Delete edge property @relation.category
      resp2, _ := client.DropEdgeProperty("@relation.category", nil)
      log.Println(resp2)
      
      Please complete the following information to download this book
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写
      *
      你的电话必须填写