query abstract method
Execute sql
query with positional params
.
Parameters may be referenced in the sql
query using $1
, $2
, ...
Returns a stream of rows, where each row is a list columns. If there are no data to be returned, this yields an empty stream.
The following types can be passed in and out.
Throws DatabaseException, if the query fails.
Implementation
Stream<RowReader> query(String sql, List<Object?> params);