UltipaDocs
Try Playground
  • Introduction
  • GQL vs Other Languages
    • Overview
    • Node and Edge Patterns
    • Path Patterns
    • Quantified Paths
    • Shortest Paths
    • Graph Patterns
    • Overview
    • Closed Graph
    • Open Graph
    • Graph Sharding and Storage
    • Constraints
    • Unique Identifiers
    • INSERT
    • INSERT OVERWRITE
    • UPSERT
    • SET
    • REMOVE
    • DELETE
    • Query Composition
    • Result Table and Visualization
    • MATCH
    • OPTIONAL MATCH
    • FILTER
    • LET
    • FOR
    • ORDER BY
    • LIMIT
    • SKIP
    • CALL
    • RETURN
    • Composite Query
    • NEXT
    • All Functions
    • Scalar Functions
    • Path Functions
    • Aggregate Functions
    • Mathematical Functions
    • Trigonometric Functions
    • String Functions
    • List Functions
    • Datetime Functions
    • Spatial Functions
    • Type Conversion Functions
    • Table Functions
    • AI & Vector Functions
    • Database Functions
  • Operators
  • Predicates
  • Expressions
    • Index
    • Full-text Index
    • Vector Index
  • Transactions
  • Triggers
  • Query Management
    • Variables
    • Values and Types
    • Comments
    • Reserved Words
    • Syntactic Notation
  • GQL Conformance
  1. Docs
  2. /
  3. ISO GQL
  4. /
  5. Data Modification

Data Modification

Unique Identifiers

System Built-In

In Ultipa, each node has two built-in unique identifiers: _id and _uuid.

Unique IdentifierValue Type
Description
_idSTRINGA string-type unique identifier with a length of up to 128 bytes. Its value can be either automatically generated by the system or manually assigned.
_uuidUINT64A numeric unique identifier with values generated by the system.

Each edge has a built-in unique identifier: _uuid. Meanwhile, each edge connects a source node to a destination node, its _from/_to and _from_uuid/_to_uuid identify its two end nodes.

Unique IdentifierValue Type
Description
_uuidUINT64A numeric unique identifier with values generated by the system.
_fromSTRINGThe _id of the source node of an edge.
_toSTRINGThe _id of the destination node of an edge.
_from_uuidUINT64The _uuid of the source node of an edge.
_to_uuidUINT64The _uuid of the destination node of an edge.

User-Defined

You can specify the EDGE KEY constraint on one or more edge properties to serve as the unique identifiers for edges. Learn more about the EDGE KEY constraint.