ICqlQueryAsyncClientFirstOrDefaultAsyncT Method (Cql) |
Gets the first T from Cassandra using the CQL specified. Will return the default value of T if no records
are found.
Namespace: Cassandra.MappingAssembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax Task<T> FirstOrDefaultAsync<T>(
Cql cql
)
Parameters
- cql
- Type: Cassandra.MappingCql
Type Parameters
- T
Return Value
Type:
TaskTSee Also