- query proc s #!rest argsprocedure
Resurrects statement s, binds args to s using bind-parameters, performs a query* and finalizes the statement.
query is the usual way to perform a query unless you need to bind arguments manually, need more control or are using the low-level interface, in which case you can use query* if desired.
You typically call query or query* with one of the provided result fetching procedures; you can also pass your own procedure to perform whichever operations you would like.