Click or drag to resize

MapperSingleT Method (String, Object)

Gets a single T from Cassandra using the CQL statement and parameter values specified. Will throw if no records or more than one record is returned.

Namespace:  Cassandra.Mapping
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public T Single<T>(
	string cql,
	params Object[] args
)

Parameters

cql
Type: SystemString
args
Type: SystemObject

Type Parameters

T

Return Value

Type: T

Implements

ICqlQueryClientSingleT(String, Object)
See Also