Click or drag to resize
ICqlQueryAsyncClientFirstOrDefaultAsyncT 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.1.0
Syntax
C#
Task<T> FirstOrDefaultAsync<T>(
	string cql,
	params Object[] args
)

Parameters

cql
Type: SystemString
args
Type: SystemObject

Type Parameters

T

Return Value

Type: TaskT
See Also