Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow script modification before execution#3

Merged
chadly merged 2 commits intomasterfrom
tokens
Sep 15, 2017
Merged

Allow script modification before execution#3
chadly merged 2 commits intomasterfrom
tokens

Conversation

@chadly
Copy link
Contributor

@chadly chadly commented Sep 15, 2017

Add feature to Database to allow modification of creation/clear scripts before they are executed against the database. This is useful to replace tokens in scripts based on a current context.

Need this for CS-15572

Also updating Database to take connection string in ctor - since it was very annoying that it didn't do that previously.

It was a small annoyance when using this class having to constantly respecify the same connection string for each method you call. It is now stored with the class instance.

+semver:major
Add feature to Database to allow modification of creation/clear scripts before they are executed against the database. This is useful to replace tokens in scripts based on a current context.

+semver:minor
@chadly chadly requested a review from broline September 15, 2017 16:51
@chadly chadly merged commit 0ebdb75 into master Sep 15, 2017
@chadly chadly deleted the tokens branch September 15, 2017 16:57
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