Click or drag to resize

MapperFirstOrDefaultT 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 T FirstOrDefault<T>(
	string cql,
	params Object[] args
)

Parameters

cql
Type: SystemString
args
Type: SystemObject

Type Parameters

T

Return Value

Type: T

Implements

ICqlQueryClientFirstOrDefaultT(String, Object)
See Also