Open sgraaf opened 2 years ago
Besides just --all to select all tables, --table to select specific table, or --sql to run a custom SQL query, it would be nice to be able to select table to copy via a regex pattern for table names. It could look something like this
--all
--table
--sql
db-to-sqlite "postgresql://localhost/myblog" blog.db \ --table-name-pattern "tag_\w+"
Good option to have!
Besides just
--all
to select all tables,--table
to select specific table, or--sql
to run a custom SQL query, it would be nice to be able to select table to copy via a regex pattern for table names. It could look something like this