Skip to content

Comments

add WithDbMapContext#438

Open
MisterSquishy wants to merge 1 commit intogo-gorp:mainfrom
MisterSquishy:withdbmapcontext
Open

add WithDbMapContext#438
MisterSquishy wants to merge 1 commit intogo-gorp:mainfrom
MisterSquishy:withdbmapcontext

Conversation

@MisterSquishy
Copy link

fixes #437

currently you cannot set context on a DbMap without transforming it into the more generic SqlExecutor. sometimes you want to add context while retaining the specificity of the DbMap, this new function makes that possible without casting.

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.

context cannot be passed to DbMap.Begin

1 participant