MCPcopy Create free account
hub / github.com/cockroachdb/copyist / Query

Method Query

stmt.go:117–119  ·  view source on GitHub ↗

Query executes a query that may return rows, such as a SELECT. Deprecated: Drivers should implement StmtQueryContext instead (or additionally).

(args []driver.Value)

Source from the content-addressed store, hash-verified

115//
116// Deprecated: Drivers should implement StmtQueryContext instead (or additionally).
117func (s *proxyStmt) Query(args []driver.Value) (driver.Rows, error) {
118 return nil, errors.New("Stmt.Query is deprecated and no longer supported")
119}
120
121// QueryContext executes a query that may return rows, such as a
122// SELECT.

Callers 15

QueryContextMethod · 0.80
TestUnknownDriverFunction · 0.80
TestRecordingNotFoundFunction · 0.80
QueryContextMethod · 0.80
TestMultipleDriversFunction · 0.80
TestIndirectOpenFunction · 0.80
TestOpenNamedFunction · 0.80
TestOpenReadWriteCloserFunction · 0.80
TestRollbackWithRecoverFunction · 0.80
TestPoolingFunction · 0.80
RunTestQueryFunction · 0.80

Calls

no outgoing calls

Tested by 11

TestUnknownDriverFunction · 0.64
TestRecordingNotFoundFunction · 0.64
TestMultipleDriversFunction · 0.64
TestIndirectOpenFunction · 0.64
TestOpenNamedFunction · 0.64
TestOpenReadWriteCloserFunction · 0.64
TestRollbackWithRecoverFunction · 0.64
TestPoolingFunction · 0.64
queryBigResultFunction · 0.64
QueryNameFunction · 0.64