Skip to content

Commit

Permalink
Add a tip for VID modification (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
randomJoe211 authored Mar 16, 2022
1 parent ad4828f commit 58d06db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs-2.0/1.introduction/3.vid.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ VIDs can be generated via applications. Here are some tips:

- If you generate int64 VID via hash, the probability of collision is about 1/10 when there are 1 billion vertices. The number of edges has no concern with the probability of collision.

## Define and modify the data type of VIDs
## Define and modify a VID and its data type

The data type of VIDs must be defined when you [create the graph space](../3.ngql-guide/9.space-statements/1.create-space.md). Once defined, it cannot be modified.
The data type of a VID must be defined when you [create the graph space](../3.ngql-guide/9.space-statements/1.create-space.md). Once defined, it cannot be modified.

A VID is set when you [insert a vertex](../3.ngql-guide/12.vertex-statements/1.insert-vertex.md) and cannot be modified.

## Query `start vid` and global scan

Expand Down

0 comments on commit 58d06db

Please sign in to comment.