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

Add WithRawSQLURL to configure an optional URl for raw sql operations #315

Merged
merged 5 commits into from
Mar 13, 2024

Conversation

exekias
Copy link
Member

@exekias exekias commented Mar 11, 2024

This setting comes handy when you need to use a different connection string for raw SQL operations, as they may require some more security checks.

This setting comes handy when you need to use a different connection
string for raw SQL operations, as they may require some more security
checks.
pkg/roll/execute.go Outdated Show resolved Hide resolved
pkg/roll/execute.go Outdated Show resolved Hide resolved
pkg/roll/execute_test.go Outdated Show resolved Hide resolved
exekias and others added 3 commits March 12, 2024 12:53
Co-authored-by: Andrew Farries <andyrb@gmail.com>
Co-authored-by: Andrew Farries <andyrb@gmail.com>
@exekias exekias merged commit 8ed5799 into main Mar 13, 2024
43 checks passed
@exekias exekias deleted the raw-sql-conn branch March 13, 2024 15:02
andrew-farries added a commit that referenced this pull request Mar 28, 2024
andrew-farries added a commit that referenced this pull request Mar 28, 2024
…operations (#333)

Revert #315 as there is no longer a demonstrated need for this option.

The `WithSQLTransformer` option was added (#329) and can be used to
transform raw SQL operations in #330, removing the need for the
`WithRawSQLURL` option.
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