Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sgraaf opened this issue Sep 23, 2022 · 1 comment · May be fixed by #41
Open

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

sgraaf opened this issue Sep 23, 2022 · 1 comment · May be fixed by #41

Comments

@sgraaf
Copy link

sgraaf commented Sep 23, 2022

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 sgraaf linked a pull request Sep 23, 2022 that will close this issue
@manojlds
Copy link

Good option to have!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants