We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7160177 commit 0683bc1Copy full SHA for 0683bc1
table/example_test.go
@@ -162,7 +162,7 @@ func Example_alterTable() {
162
options.WithSetTimeToLiveSettings(options.TimeToLiveSettings{
163
ColumnName: "expire_at",
164
ExpireAfterSeconds: uint32(time.Hour.Seconds()),
165
- }.WithMode(options.TimeToLiveModeValueSinceUnixEpoch).WithColumnUnit(options.TimeToLiveUnitSeconds)),
+ }.ColumnUnitSeconds()),
166
options.WithAddIndex("idx_series_series_id",
167
options.WithIndexColumns("series_id"),
168
options.WithDataColumns("title"),
0 commit comments