-
- All Superinterfaces:
DbStatement<DbStatementGet,Single<Optional<DbRow>>>
- All Known Implementing Classes:
MongoDbStatementGet
public interface DbStatementGet extends DbStatement<DbStatementGet,Single<Optional<DbRow>>>
Database statement that queries the database and returns a single row if present, or an empty optional. In case the statement returns more than one rows, the future returned byDbStatement.execute()
will end inCompletionStage.exceptionally(java.util.function.Function)
.
-
-
Method Summary
-
Methods inherited from interface io.helidon.dbclient.DbStatement
addParam, addParam, execute, indexedParam, namedParam, params, params, params
-
-