Click or drag to resize
ICqlBatchInsertIfNotExistsT Method (T, Boolean, NullableInt32, CqlQueryOptions)
Inserts the specified POCO in Cassandra if not exists.

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

Parameters

poco
Type: T
insertNulls
Type: SystemBoolean
ttl
Type: SystemNullableInt32
queryOptions (Optional)
Type: Cassandra.MappingCqlQueryOptions

Type Parameters

T
See Also