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 support for allowlist filter #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

willhardy
Copy link

Currently it is not possible to exclude unknown tables. This change allows tables to be explicitly listed so that only those tables will be dumped.

For example, the following will only export the customer table.

[filter]
* = ignore
customer = include

(The existing code is hardly touched, this is mostly just additions. However, one line is slightly refactored to early-exit, so the remaining code in the function ends up being de-indented.)

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 this pull request may close these issues.

1 participant