Instance Method
first()
Returns the first output row, if any.
func first() -> EventLoopFuture<(any SQLRow)?>
Return Value
A future containing the first output row, if any.
Discussion
If self conforms to SQLPartialResultBuilder, limit(_:) is used to avoid loading more rows than necessary from the database.
See Also
Getting One Row
first(decoding:)Using a default-configuredSQLRowDecoder, returns the first output row, if any, decoded as a given type.first(decoding:prefix:keyDecodingStrategy:userInfo:)Configure a newSQLRowDecoderas specified and use it to decode and return the first output row, if any, as a given type.first(decoding:with:)Using the givenSQLRowDecoder, returns the first output row, if any, decoded as a given type.first(decodingColumn:as:)Returns the named column from the first output row, if any, decoded as a given type.