- fetch-column sprocedure
Fetches all rows and returns a list containing the first column of each, or '() if there was no column data.
(query fetch-column (sql db "select key from cache")) ; => ("foo" "bar")
Fetches all rows and returns a list containing the first column of each, or '() if there was no column data.
(query fetch-column (sql db "select key from cache")) ; => ("foo" "bar")