Returns a CqlQuery which after execution will return the first element of the sequence that satisfies a condition
or a default value if no such element is found.
To execute this CqlQuery use Execute() method.
Namespace:Cassandra.Data.Linq Assembly:
Cassandra (in Cassandra.dll) Version: 3.13.0
Type: System.Linq.ExpressionsExpressionFuncTSource, Boolean A function to test each element for a condition.
Type Parameters
TSource
The type of the elements of source.
Return Value
Type: CqlQuerySingleElementTSource a CqlQuery<TSource> which after execution will return default(TSource) if source is empty
or if no element passes the test specified by predicate,
otherwise the first element in source that passes the test specified by predicate.