Skip to content

Commit

Permalink
Update ttl-options.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Mar 25, 2022
1 parent a02e544 commit d0d10f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-2.0/3.ngql-guide/8.clauses-and-options/ttl-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ Use TTL options in the `CREATE` statement to set a timeout when creating a tag o
# Create a tag and set the TTL options.
nebula> CREATE TAG IF NOT EXISTS t2(a int, b int, c string) ttl_duration= 100, ttl_col = "a";
# Insert a vertex with tag t2. The timeout timestamp is 1612778164774 (1612778164674 + 100).
nebula> INSERT VERTEX t2(a, b, c) values "102":(1612778164674, 30, "Hello");
# Insert a vertex with tag t2. The timeout timestamp is 1648197238 (1648197138 + 100).
nebula> INSERT VERTEX t2(a, b, c) values "102":(1648197138, 30, "Hello");
```

## Remove a timeout
Expand Down

0 comments on commit d0d10f1

Please sign in to comment.