ICqlQueryAsyncClientFirstOrDefaultAsyncT 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.MappingAssembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax Task<T> FirstOrDefaultAsync<T>(
string cql,
params Object[] args
)
Parameters
- cql
- Type: SystemString
- args
- Type: SystemObject
Type Parameters
- T
Return Value
Type:
TaskTSee Also