zensols.cisql.export

This library contains functions that allow for exporting of table data.

This includes functions to export to CSV files and adhoc Clojure functions.

export-query-to-eval

(export-query-to-eval query code)

export-query-to-function

(export-query-to-function query clj-file fn-name)

Export result set output to a the last defined Clojure function in a file.

export-table-csv

(export-table-csv query filename)

Execute query and save as an CSV file to filename.