script --dataTablesPattern option unable to filter
Opened this issue · 2 comments
onguarde commented
I have tables schema "Hangfire". Example, "HangFire.Job".
I'm unable to filter these tables using the --dataTablesPattern option.
Here is what i've tried,
--dataTablesExcludePattern="(Job)"
This works to filter out Job table. Program seems to be ignoring the schema portion of the table name. eg. dbo
Is there a way to specifically exclude ALL tables with a particular schema?
--dataTablesExcludePattern="(Hangfire)"
jhelmink commented
dataTablesPattern is expecting a regex expression;
--dataTablesPattern "^(?!ignoreMe|ignoreMeToo|ignoreAnotherOne$).*"
Not sure that it handles the schema though.