Skip to content

Conversation

arno82
Copy link
Collaborator

@arno82 arno82 commented Apr 8, 2015

Add commandline options to filter out DDL objects by name.
Add commandline options to include or exclude DDL object by type.

List of new options:
-f, --filter, filter for specific DDL objects
every LIKE wildcard can be used
-tf, --type-filter, filter for specific DDL object types
-tfm, --type-filtermode, mode for type filter: include(default) or
exclude

-f simply filters all DDL objects bei name, with wildcard support (%),
e.g. -f EMP or -f salgr%

An example for all types that can be given to the type-filter:
-tf "'CONSTRAINT', 'DATABASE LINK', 'DBMS JOB', 'FUNCTION', 'JAVA
CLASS', 'JAVA SOURCE', 'JOB', 'MATERIALIZED VIEW', 'PACKAGE', 'PACKAGE
BODY', 'PROCEDURE', 'REF_CONSTRAINT', 'REFRESH GROUP', 'SEQUENCE',
'SYNONYM', 'TABLE', 'TRIGGER', 'VIEW'"

Afterwards you can include/Exclude those types above with -tfm include
or -tfm exclude

Add commandline options to filter out DDL objects by name.
Add commandline options to include or exclude DDL object by type.

List of new options:
-f, --filter,            filter for specific DDL objects
every LIKE wildcard can be used
-tf, --type-filter,      filter for specific DDL object types
-tfm, --type-filtermode, mode for type filter: include(default) or
exclude

-f simply filters all DDL objects bei name, with wildcard support (%),
e.g. -f EMP or -f salgr%

An example for all types that can be given to the type-filter:
-tf "'CONSTRAINT', 'DATABASE LINK', 'DBMS JOB', 'FUNCTION', 'JAVA
CLASS', 'JAVA SOURCE', 'JOB', 'MATERIALIZED VIEW', 'PACKAGE', 'PACKAGE
BODY', 'PROCEDURE', 'REF_CONSTRAINT', 'REFRESH GROUP', 'SEQUENCE',
'SYNONYM', 'TABLE', 'TRIGGER', 'VIEW'"

Afterwards you can include/Exclude those types above with -tfm include
or -tfm exclude
@qwazer qwazer self-assigned this Apr 8, 2015
qwazer added a commit that referenced this pull request Apr 8, 2015
@qwazer qwazer merged commit b7c136e into qwazer:master Apr 8, 2015
@qwazer
Copy link
Owner

qwazer commented Apr 8, 2015

Thanks

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.

2 participants