Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete TTL negative #164

Merged
merged 1 commit into from
Oct 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ You can use the `If NOT EXISTS` keywords when creating edge types. This keyword

ttl_duration specifies the life cycle of vertices (or edges). Data that exceeds the specified TTL will expire. The expiration threshold is the specified TTL_COL value plus the TTL_DURATION.

> If the value for ttl_duration is zero or negative, the vertices or edges will not expire.
> If the value for ttl_duration is zero, the vertices or edges will not expire.

* TTL_COL

Expand All @@ -83,5 +83,5 @@ nebula> CREATE EDGE follow_with_default(start_time timestamp DEFAULT 0, grade do

```ngql
nebula> CREATE EDGE marriage(location string, since timestamp)
TTL_DURATION = 0, TTL_COL = "since"; -- negative or zero, will not expire
TTL_DURATION = 0, TTL_COL = "since"; -- zero, will not expire
```
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ You can use the `If NOT EXISTS` keywords when creating tags. This keyword automa

ttl_duration specifies the life cycle of vertices (or edges). Data that exceeds the specified TTL will expire. The expiration threshold is the specified TTL_COL value plus the TTL_DURATION.

> If the value for ttl_duration is zero or negative, the vertices or edges will not expire.
> If the value for ttl_duration is zero, the vertices or edges will not expire.

* TTL_COL

Expand Down