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 Filter functionality to Get-DbaDbUserDefinedTableType #8834

Merged
merged 4 commits into from
Apr 5, 2023
Merged

Added Filter functionality to Get-DbaDbUserDefinedTableType #8834

merged 4 commits into from
Apr 5, 2023

Conversation

sqlarticles
Copy link
Contributor

@sqlarticles sqlarticles commented Apr 4, 2023

Please read -- recent changes to our repo

On November 10, 2022, we removed some bloat from our repository (for the second and final time). This change requires that all contributors reclone or refork their repo.

PRs from repos that have not been recently reforked or recloned will be closed and @potatoqualitee will cherry-pick your commits and open a new PR with your changes.

  • Please confirm you have the smaller repo (85MB .git directory vs 275MB or 110MB or 185MB .git directory)

Type of Change

Purpose

This change will allow the users to filter the output by table type names.

Approach

Followed standard pattern. Added a new parameter to the function which accepts an array of type names, the same is then used within the code to filter the output

Commands to test

Get-DbaDbUserDefinedTableType -SqlInstance Host1 -database DB1 -Type TableType1

@sqlarticles sqlarticles changed the title Development Added Filter functionality to Get-DbaDbUserDefinedTableType Apr 4, 2023
@sqlarticles sqlarticles marked this pull request as ready for review April 4, 2023 08:11
@potatoqualitee
Copy link
Member

excellent! LGTM 🙇🏼 thank you

@potatoqualitee potatoqualitee merged commit 5a9f133 into dataplat:development Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants