aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Myasnikov <asmyasnikov@yandex-team.com>2023-11-08 01:13:53 +0300
committerasmyasnikov <asmyasnikov@ydb.tech>2023-11-08 01:38:57 +0300
commitc17218a1a9983a320fa7b40e8e0ef11da6579c56 (patch)
tree27c91c0abfdf53bfa52f60fa452f5a2eef71b042
parent32eafed934f5bcbffcd3e469c9fb961b5f65463c (diff)
downloadydb-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.md2
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),
),
)
```