The best I could come up with was to just show you:
$ atcat dbi://pg/localhost/database_name/table_name csv://table_name.csv
That exports a table from Postgres into a comma separated value file. You can
read from or write to: tab, csv, dbi, etc. You can opaquely treat any of those
'table of records' based sources as an opaque URI. Want to read more?
https://github.com/kyleburton/abstract-tables

Required Ruby Version:
None

Licenses:

N/A

Gemfile:

=Copy to clipboardCopied!

install:

=Copy to clipboardCopied!

Links:

RubyGems.org is the Ruby community’s gem hosting service. Instantly publish your gems and install them. Use the API to interact and find out more information about available gems. Become a contributor and enhance the site with your own changes.