Skip to content

Add QueryContext methods for Jet objects#8

Merged
nhocki merged 1 commit intomasterfrom
nh-query-context
Jan 30, 2019
Merged

Add QueryContext methods for Jet objects#8
nhocki merged 1 commit intomasterfrom
nh-query-context

Conversation

@nhocki
Copy link
Copy Markdown

@nhocki nhocki commented Jan 30, 2019

This commit adds db/trx.QueryContext() methods that are similar to
Query() but accept a context (same as the STD sql.QueryContext).

This will allow us to send tracing information to queries that will be
tied to a given span.

This commit adds `db/trx.QueryContext()` methods that are similar to
`Query()` but accept a context (same as the STD `sql.QueryContext`).

This will allow us to send tracing information to queries that will be
tied to a given span.

* https://golang.org/pkg/database/sql/#DB.QueryContext
@nhocki nhocki merged commit 6dc985a into master Jan 30, 2019
@nhocki nhocki deleted the nh-query-context branch January 30, 2019 14:56
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