QueryExecutor
Represents an interface for executing SQL statements and managing their results.
This interface provides methods for executing SQL queries, fetching results, and handling transactions. It abstracts the underlying database operations and offers a coroutine-based API for asynchronous execution.
Inheritors
Types
Represents a transactional interface providing methods for handling transactions.
Properties
Functions
Executes the given SQL statement asynchronously, like execute, and also reports the id the database generated for an inserted row (see ExecuteResult.lastInsertId).
Streams the rows of the given SQL statement as a cold Flow. See fetch.
Streams the rows of the given SQL query as a cold Flow.
Streams the rows of the given SQL statement, mapping each row with the provided RowMapper. See fetch.
Fetches all results of the given SQL statement asynchronously.
Fetches all results of the given SQL query asynchronously.
Fetches all results of the given SQL statement and maps each row using the provided RowMapper.
Fetches all results of the given SQL query and maps each row using the provided RowMapper.