diff options
author | Aleksey Myasnikov <asmyasnikov@yandex-team.com> | 2023-11-08 01:13:53 +0300 |
---|---|---|
committer | asmyasnikov <asmyasnikov@ydb.tech> | 2023-11-08 01:38:57 +0300 |
commit | c17218a1a9983a320fa7b40e8e0ef11da6579c56 (patch) | |
tree | 27c91c0abfdf53bfa52f60fa452f5a2eef71b042 | |
parent | 32eafed934f5bcbffcd3e469c9fb961b5f65463c (diff) | |
download | ydb-c17218a1a9983a320fa7b40e8e0ef11da6579c56.tar.gz |
Update ttl.md
Update ttl.md
Pull Request resolved: https://github.com/ydb-platform/ydb/pull/429
-rw-r--r-- | ydb/docs/en/core/concepts/_includes/ttl.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/docs/en/core/concepts/_includes/ttl.md b/ydb/docs/en/core/concepts/_includes/ttl.md index c8c5c6d0fa5..687d8acdf03 100644 --- a/ydb/docs/en/core/concepts/_includes/ttl.md +++ b/ydb/docs/en/core/concepts/_includes/ttl.md @@ -159,7 +159,7 @@ The example below shows how to use the `modified_at` column with a numeric type ```go err := session.AlterTable(ctx, "mytable", options.WithSetTimeToLiveSettings( - options.NewTTLSettings().ColumnSecond("modified_at").ExpireAfter(time.Hour), + options.NewTTLSettings().ColumnSeconds("modified_at").ExpireAfter(time.Hour), ), ) ``` |