Change Password

Input error
Input error
Input error
Submit

Change Nickname

Current Nickname:
Submit
Search
v4.0
    v4.0

    Truncate

    Truncate is the delete operation done against all or part of the nodes and edges in a certain GraphSet in the current Ultipa instance.

    Syntax:

    • Command: truncate().graph()
    • Parameter: nodes() or edges() or omit, custom alias not supported
    • Statement Alias: Custom alias not supported
    // To truncate all the nodes and edges in a certain graphset in the current Ultipa instance
    truncate().graph("<graphset>")
    
    // To truncate all the nodes of certain schema in a certain graphset in the current Ultipa instance
    truncate().graph("<graphSet>").nodes(@<schema>)
                                         
    // To truncate all the edges of certain schema in a certain graphset in the current Ultipa instance
    truncate().graph("<graphSet>").edges(@<schema>)
    
    // To truncate all the nodes in a certain graphset in the current Ultipa instance
    truncate().graph("<graphset>").nodes("*")
    
    // To truncate all the edges in a certain graphset in the current Ultipa instance
    truncate().graph("<graphset>").edges("*")
    

    Example: Erase all the data from GraphSet "test"

    truncate().graph("test")
    

    Example: Erase all edges from GraphSet "test"

    truncate().graph("test").edges("*")
    
    Please complete the following information to download this book
    *
    公司名称不能为空
    *
    公司邮箱必须填写
    *
    你的名字必须填写
    *
    你的电话必须填写
    *
    你的电话必须填写