Skip to content

Add experimental support for 1.8's new Context based database/sql functions - #270

Merged
jmoiron merged 4 commits into
jmoiron:masterfrom
wyattjoh:master
Feb 21, 2017
Merged

jmoiron merged 4 commits into
jmoiron:masterfrom
wyattjoh:master

Conversation

@wyattjoh

Copy link
Copy Markdown
Contributor

This PR adds experimental support for Go 1.8's new context.Context based functions. Tests have been duplicated for the Context based functions to bring them up to parity.

@dlsniper

Copy link
Copy Markdown
Collaborator

@jmoiron what do you think it's needed to get this merged? I'd be happy to help testing out if needed. Thank you!

@ghost

ghost commented Jan 30, 2017

Copy link
Copy Markdown

@jmoiron can you take a look at this?

@c4milo

c4milo commented Feb 3, 2017

Copy link
Copy Markdown
Contributor

nice! I created #278 before finding this PR. I would leave it open anyways.

@jmoiron
jmoiron merged commit 04a39d1 into jmoiron:master Feb 21, 2017
@husio

husio commented Feb 26, 2017

Copy link
Copy Markdown
Contributor

Is there a reason why transaction does not support XxxContext methods or this is just missing functionality that is waiting to be implemented?

@ghost

ghost commented Feb 26, 2017

Copy link
Copy Markdown

@husio i already created an issue for that here #286

vbehar added a commit to vbehar/dat that referenced this pull request Jun 23, 2017
allow to pass context.Context to the sql package, using the *Context funcs on sqlx
needs a more recent version of sqlx - see jmoiron/sqlx#270
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.

5 participants