schemazen icon indicating copy to clipboard operation
schemazen copied to clipboard

Add filter option to limit objects that get scripted

Open ghost opened this issue 9 years ago • 4 comments

Thanks for great project. I am facing the problem in scripting selected tables from database. Is the feature is available in schemazen ?

ghost avatar Mar 03 '16 10:03 ghost

This feature is not currently available. I've had a few request for this and to exclude certain objects. I'll add an option to filter the objects scripted using a regular expression that should cover both cases. I should get to it sometime in the next week or so unless somebody beats me to it.

sethreno avatar Mar 03 '16 16:03 sethreno

Hope you have implemented filter option, but I am not able use it command. Can you please guide how to use filter option in the command ?

ghost avatar Mar 30 '16 06:03 ghost

This would be an awesome feature, and something we'd really like to see... An option to not drop the database first would be a huge advantage as well, allowing us to add additional objects to an existing database. One problem though, with filtering using a regular expression-- will it be powerful enough? What if I have a list of 50 objects I don't want and constructing a regex to eliminate just them would seem to be unwieldy...

kdd21 avatar Jun 03 '16 04:06 kdd21

slightly different, but I have a fork where I'm developing an option that allows you to filter the data that gets scripted from a table.

keithn avatar Jun 03 '16 04:06 keithn