← Back to Stormify Documentation

readRows

fun readRows(query: String, vararg params: Any?): List<Array<Any?>>

Executes a SELECT query and returns every row as an array of its column values, by position. Unlike read<Map<String, Any?>>, columns with the same label (a.id, b.id) all come back. Values are converted as for a Map read; SQL NULL is null. Runs on the connection of the active transaction, if any, like every read.