Click or drag to resize

MapperFirstOrDefaultAsyncT Method (String, Object)

Gets the first T from Cassandra using the CQL statement and parameter values specified. Will return the default value of T is no records are found.

Namespace:  Dse.Mapping
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public Task<T> FirstOrDefaultAsync<T>(
	string cql,
	params Object[] args
)

Parameters

cql
Type: SystemString
args
Type: SystemObject

Type Parameters

T

Return Value

Type: TaskT

Implements

ICqlQueryAsyncClientFirstOrDefaultAsyncT(String, Object)
See Also