Click or drag to resize

MapperFirstOrDefaultAsyncT Method (Cql)

Gets the first T from Cassandra using the CQL specified. Will return the default value of T if no records are found.

Namespace:  Dse.Mapping
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public Task<T> FirstOrDefaultAsync<T>(
	Cql cql
)

Parameters

cql
Type: Dse.MappingCql

Type Parameters

T

Return Value

Type: TaskT

Implements

ICqlQueryAsyncClientFirstOrDefaultAsyncT(Cql)
See Also