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: Cassandra.Mapping
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.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