MCPcopy Create free account
hub / github.com/dolthub/doltgresql / NewContext

Method NewContext

server/handler.go:45–45  ·  view source on GitHub ↗

NewContext creates a new sql.Context instance for the connection |c|. The optional |query| can be specified to populate the sql.Context's query field.

(ctx context.Context, c *mysql.Conn, query string)

Source from the content-addressed store, hash-verified

43 // NewContext creates a new sql.Context instance for the connection |c|. The
44 // optional |query| can be specified to populate the sql.Context's query field.
45 NewContext(ctx context.Context, c *mysql.Conn, query string) (*sql.Context, error)
46}

Callers 4

runServerFunction · 0.65
copyFromFileQueryMethod · 0.65
handleCopyDataHelperMethod · 0.65
handleCopyDoneMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected