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.
[x] Please confirm you have the smaller repo (85MB .git directory vs 275MB or 110MB or 185MB .git directory)
[x] Ran manual Pester test and has passed (.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/dataplat/appveyor-lab ?
[x] Unit test is included
[ ] Documentation
[ ] Build system
Purpose
Use parametrized queries since escaping inputs is .... so 1990.+
Approach
Use Invoke-DbaQuery to run the query, which just has a problem of not being able to support zillions of params in one go.
So we split in "regular batches".
I think the query is now fine, although a password set as "@@Name" won't get detected... But I didn't want to completely change every piece of it.
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.
Type of Change
.\tests\manual.pester.ps1
)Purpose
Use parametrized queries since escaping inputs is .... so 1990.+
Approach
Use Invoke-DbaQuery to run the query, which just has a problem of not being able to support zillions of params in one go. So we split in "regular batches".
I think the query is now fine, although a password set as "@@Name" won't get detected... But I didn't want to completely change every piece of it.