all

abstract external fun all(stringElements: TemplateStringsArray, vararg boundParameters: SQLInputValue): ReadonlyArray<ReadonlyRecord<String, SQLOutputValue>>(source)

Executes the given SQL query and returns all resulting rows as an array of objects.

This function is intended to be used as a template literal tag, not to be called directly.

Since

v24.9.0

Parameters

stringElements

Template literal elements containing the SQL query.

boundParameters

Parameter values to be bound to placeholders in the template string.