Skip to content

Selected and excluded tables command line switches#1

Open
bianchimro wants to merge 8 commits into
sorl:masterfrom
bianchimro:master
Open

Selected and excluded tables command line switches#1
bianchimro wants to merge 8 commits into
sorl:masterfrom
bianchimro:master

Conversation

@bianchimro

Copy link
Copy Markdown

Hi,

I found myself in a situation where my db user had restriction on some tables.
Core Django inspectdb fails as soon as it meets permissions problems on any table, not listing the tables following, so I've extended the command line options with -t and -e options.

You can pass in a comma separated list of selected or excluded tables.
Passing -t only tables in list will be inspected
Passing -e tables in list will not be inspected.

Cheers
Mauro

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