Click or drag to resize

Mapper.SingleAsync<T> Method (Cql)

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

Namespace:  Cassandra.Mapping
Assembly:  Cassandra (in Cassandra.dll) Version: 3.10.0
Syntax
C#
public Task<T> SingleAsync<T>(
	Cql cql
)

Parameters

cql
Type: Cassandra.Mapping.Cql

Type Parameters

T

Return Value

Type: Task<T>

Implements

ICqlQueryAsyncClient.SingleAsync<T>(Cql)
See Also