Click or drag to resize

CqlConditionalCommandTEntitySetTTL 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.11.0
Syntax
C#
public CqlConditionalCommand<TEntity> SetTTL(
	int seconds
)

Parameters

seconds
Type: SystemInt32
Amount of seconds.

Return Value

Type: CqlConditionalCommandTEntity
This instance.
See Also