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.
Please enter the password.
Submit

Change Nickname

Current Nickname:
Submit

Apply New License

License Detail

Please complete this required field.

  • Ultipa Graph V4

Standalone

Please complete this required field.

Please complete this required field.

The MAC address of the server you want to deploy.

Please complete this required field.

Please complete this required field.

Cancel
Apply
ID
Product
Status
Cores
Applied Validity Period(days)
Effective Date
Excpired Date
Mac Address
Apply Comment
Review Comment
Close
Profile
  • Full Name:
  • Phone:
  • Company:
  • Company Email:
  • Country:
  • Language:
Change Password
Apply

You have no license application record.

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

Not having one? Apply now! >>>

Product Created On ID Amount (USD) Invoice
Product Created On ID Amount (USD) Invoice

No Invoice

v5.0
Search
    English
    v5.0

      UNCOLLECT

      Overview

      The UNCOLLECT statement transforms elements in a list into individual records.

      Syntax

      UNCOLLECT <listExp> as <alias>
      

      Details

      • The <listExp> is an expression that represents or produces data of the list type.
      • An <alias> is mandatory to represent the data uncollected.

      Example Graph

      To create the graph, execute each of the following UQL queries sequentially in an empty graphset:

      create().edge_property(@default, "weight", int32)
      insert().into(@default).nodes([{_id:"A"}, {_id:"B"}, {_id:"C"}, {_id:"D"}, {_id:"E"}, {_id:"F"}])
      insert().into(@default).edges([{_from:"A", _to:"C", weight:1}, {_from:"E", _to:"B", weight:1}, {_from:"A", _to:"E", weight:4}, {_from:"D", _to:"C", weight:2}, {_from:"E", _to:"D", weight:3}, {_from:"B", _to:"A", weight:2}, {_from:"F", _to:"A", weight:4}])
      

      Uncollecting a List

      uncollect [1,1,2,3,null] as item
      return item
      

      Result:

      item
      1
      1
      2
      3
      null
      uncollect [[1,2], [2,3,5]] as item
      return item
      

      Result:

      item
      [1,2]
      [2,3,5]

      Uncollecting Node/Edge Lists

      The pnodes() or pedges() function collects nodes or edges in a path into a list.

      n({_id == "A"}).e()[2].n({_id == "D"}) as p
      call {
        with p
        uncollect pedges(p) as edges
        return sum(edges.weight) as totalWeights
      }
      return totalWeights
      

      Result:

      totalWeights
      3
      7
      Please complete the following information to download this book
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写