Skip to content

Commit

Permalink
doc:modify ttl query (#2006)
Browse files Browse the repository at this point in the history
Co-authored-by: dutor <440396+dutor@users.noreply.github.com>
  • Loading branch information
amber-moe and dutor authored Mar 30, 2020
1 parent 0297487 commit a45eb66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ nebula> ALTER TAG t1 CHANGE (a string); -- failed

``` ngql
nebula> CREATE TAG t1(a int, b int, c string) ttl_duration = 100, ttl_col = "a";
nebula> CREATE TAG INDEX id1 ON t(a); -- failed
nebula> CREATE TAG INDEX id1 ON t1(a); -- failed
```

``` ngql
nebula> CREATE TAG t1(a int, b int, c string) ttl_duration = 100, ttl_col = "a";
nebula> CREATE TAG INDEX id1 ON t(b); -- failed
nebula> CREATE TAG INDEX id1 ON t1(b); -- failed
```

```ngql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ nebula> ALTER TAG t1 CHANGE (a string); -- failed

``` ngql
nebula> CREATE TAG t1(a int, b int, c string) ttl_duration = 100, ttl_col = "a";
nebula> CREATE TAG INDEX id1 ON t(a); -- failed
nebula> CREATE TAG INDEX id1 ON t1(a); -- failed
```

``` ngql
nebula> CREATE TAG t1(a int, b int, c string) ttl_duration = 100, ttl_col = "a";
nebula> CREATE TAG INDEX id1 ON t(b); -- failed
nebula> CREATE TAG INDEX id1 ON t1(b); -- failed
```

```ngql
Expand Down

0 comments on commit a45eb66

Please sign in to comment.