Click or drag to resize
MapperInsertIfNotExistsAsyncT 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: Dse.Mapping
Assembly: Dse (in Dse.dll) Version: 2.3.0
Syntax
C#
public Task<AppliedInfo<T>> InsertIfNotExistsAsync<T>(
	T poco,
	CqlQueryOptions queryOptions = null
)

Parameters

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

Type Parameters

T

Return Value

Type: TaskAppliedInfoT

Implements

IMapperInsertIfNotExistsAsyncT(T, CqlQueryOptions)
See Also