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 Context #1807

Closed
koalacxr opened this issue Mar 19, 2018 · 3 comments
Closed

add Context #1807

koalacxr opened this issue Mar 19, 2018 · 3 comments

Comments

@koalacxr
Copy link

Support Context :
BeginTx(ctx context.Context, opts *TxOptions) (*Tx, error)
ExecContext(ctx context.Context, query string, args ...interface{}) (Result, error)
PrepareContext(ctx context.Context, query string) (*Stmt, error)
QueryContext(ctx context.Context, query string, args ...interface{}) (*Rows, error)
QueryRowContext(ctx context.Context, query string, args ...interface{}) *Row

@posener
Copy link
Contributor

posener commented Sep 22, 2018

I think this duplicates #1231

@alexsn
Copy link

alexsn commented Oct 3, 2018

That's from 2 years ago, is gorm never gonna support context? Are we waiting for a PR or is there a general objection to add context support?

@penguinpowernz
Copy link

Seems like there is some movement over there with some code available to be merged... let's close this and track it in #1231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants