Click or drag to resize

CqlConditionalCommand<TEntity>.SetTTL Method

Sets the time for data in a column to expire (TTL) for INSERT and UPDATE commands.

Namespace:  Cassandra.Data.Linq
Assembly:  Cassandra (in Cassandra.dll) Version: 3.12.0
Syntax
C#
public CqlConditionalCommand<TEntity> SetTTL(
	int seconds
)

Parameters

seconds
Type: System.Int32
Amount of seconds.

Return Value

Type: CqlConditionalCommand<TEntity>
This instance.
See Also