chickadee » sqlite3 » first-row

first-row STATEMENT #!rest PARAMETERSprocedure
first-row DATABASE SQL #!rest PARAMETERSprocedure

(Compiles the given SQL), resets the statement, binds the statement's free parameters and single-steps the statement once returning all columns in the first result row as a list.

If the given statement does not yield any results, an (exn sqlite3) is thrown with the status-property set to done.