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

      DELETE

      Overview

      The DELETE statement allows you to delete nodes and edges. These nodes or edges must first be retrieved using the MATCH statement.

      <delete statement> ::= [ "DETACH" | "NODETACH"] "DELETE" <delete item list>
      
      <delete item list> ::= <delete item> [ { "," <delete item> }... ]
      
      <delete item> ::= <value expression>
      

      An edge cannot exist when any of its endpoints is removed from the graph. By default, GQL does not allow to delete a node while it still has edges connected to it.

      However, you can explicitly use the keyword DETACH to enable the deletion of nodes along with their connected edges. For example, when node B is deleted, edges 1, 2 and 4 will also be deleted.

      In the case of DELETE or NODETACH DELETE, the deletion of node B will fail, which can be useful as a security measure to prevent unintended deletions.

      If neither DETACH nor NODETACH is specified, DEDETACH is implicitly applied.

      Example Graph

      Each of the following examples begins with this graph:

      To create this graph, run the following query against an empty graph:

      INSERT (rowlock:User {_id: "U01", name: "rowlock"}),
             (brainy:User {_id: "U02", name: "Brainy"}),
             (mochaeach:User {_id: "U03", name: "mochaeach"}),
             (purplechalk:User {_id: "U04", name: "purplechalk"}),
             (c:Club {_id: "C01"}),
             (rowlock)-[:Follows]->(brainy),
             (mochaeach)-[:Follows]->(brainy),
             (brainy)-[:Joins]->(c)
      

      Deleting Isolated Nodes

      This query deletes the isolated node purplechalk:

      MATCH (n:User {name: 'purplechalk'})
      DELETE n
      

      Deleting Non-Isolated Nodes

      This query deletes the node rowlock along with one edge connected to it:

      MATCH (n:User {name: 'rowlock'})
      DETACH DELETE n
      

      This query fails since the node rowlock has an edge connected to it:

      MATCH (n:User {name: 'rowlock'})
      DELETE n
      

      Deleting Edges

      This query deletes all edges labeled Follows:

      MATCH ()-[e:Follows]->()
      DELETE e
      
      Please complete the following information to download this book
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写