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

Added Filtering #27

Merged
merged 1 commit into from
Apr 8, 2015
Merged

Added Filtering #27

merged 1 commit into from
Apr 8, 2015

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.

None yet

2 participants