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

script --dataTablesPattern option unable to filter #176

Open
onguarde opened this issue Nov 5, 2019 · 2 comments · May be fixed by #193
Open

script --dataTablesPattern option unable to filter #176

onguarde opened this issue Nov 5, 2019 · 2 comments · May be fixed by #193

Comments

@onguarde
Copy link

onguarde commented Nov 5, 2019

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
Copy link

jhelmink commented Apr 3, 2020

dataTablesPattern is expecting a regex expression;
--dataTablesPattern "^(?!ignoreMe|ignoreMeToo|ignoreAnotherOne$).*"

Not sure that it handles the schema though.

@rhumborl
Copy link
Contributor

rhumborl commented Jul 3, 2021

Only just saw this issue now, but my PR to specify schemas should help with this - #193

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.

3 participants