Click or drag to resize
ICqlBatch.InsertIfNotExists<T> Method (T, Boolean, Nullable<Int32>, CqlQueryOptions)
Inserts the specified POCO in Cassandra if not exists.

Namespace: Cassandra.Mapping
Assembly: Cassandra (in Cassandra.dll) Version: 3.1.0
Syntax
C#
void InsertIfNotExists<T>(
	T poco,
	bool insertNulls,
	Nullable<int> ttl,
	CqlQueryOptions queryOptions = null
)

Parameters

poco
Type: T
insertNulls
Type: System.Boolean
ttl
Type: System.Nullable<Int32>
queryOptions (Optional)
Type: Cassandra.Mapping.CqlQueryOptions

Type Parameters

T
See Also