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

Update ttl-options.md #685

Merged
merged 2 commits into from
Jul 6, 2021
Merged
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
6 changes: 5 additions & 1 deletion 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 @@ -10,7 +10,11 @@ TTL(Time To Live)指定属性的存活时间,超时后,该属性就会

- 不能修改带有TTL选项的属性的Schema。

- Tag或Edge type上如果有索引,不能设置TTL选项,即使在没有索引的属性上设置也不行。
- TTL 和 INDEX 共存问题:

+ 如果已有 INDEX:不能再设置 TTL,即使在没有 INDEX 的属性上设置 TTL 也不行。

+ 如果已有 TTL:可以再添加 INDEX。

## 属性过期

Expand Down