db-to-sqlite icon indicating copy to clipboard operation
db-to-sqlite copied to clipboard

Add option for selecting tables to copy by a (regex) pattern

Open sgraaf opened this issue 2 years ago • 1 comments

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

db-to-sqlite "postgresql://localhost/myblog" blog.db \
    --table-name-pattern "tag_\w+"

sgraaf avatar Sep 23 '22 07:09 sgraaf

Good option to have!

manojlds avatar Oct 12 '23 10:10 manojlds