ICqlQueryClientSingleOrDefaultT Method (Cql) |
Gets a single T from Cassandra using the CQL statement specified. Will return the default value of T if
no records are found. Will throw if more than one record is returned.
Namespace: Dse.MappingAssembly: Dse (in Dse.dll) Version: 2.3.0
Syntax T SingleOrDefault<T>(
Cql cql
)
Parameters
- cql
- Type: Dse.MappingCql
Type Parameters
- T
Return Value
Type:
TSee Also