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

Returns information whether it was applied or not. If it was not applied, it returns details of the existing values.

Namespace: Cassandra.Mapping
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public AppliedInfo<T> InsertIfNotExists<T>(
	T poco,
	CqlQueryOptions queryOptions = null
)

Parameters

poco
Type: T
queryOptions (Optional)
Type: Cassandra.MappingCqlQueryOptions

Type Parameters

T

Return Value

Type: AppliedInfoT

Implements

IMapperInsertIfNotExistsT(T, CqlQueryOptions)
See Also