db9010 / com.jovial.db9010 / SelectQuery / Builder / run

run

infix fun <T> run(body: (SelectQuery) -> T): T

Runs body with a reference to this query. The body should set any needed Parameter values using the appropriate setters, then execute the query by calling SelectQuery.next or SelectQuery.nextOrFail. It can supsequently fetch results by calling the appropriate setters.