MCPcopy Create free account
hub / github.com/araddon/qlbridge / Query

Method Query

exec/sqldriver.go:123–126  ·  view source on GitHub ↗

Queryer implementation Query may return ErrSkip

(query string, args []driver.Value)

Source from the content-addressed store, hash-verified

121// Query may return ErrSkip
122//
123func (m *qlbConn) Query(query string, args []driver.Value) (driver.Rows, error) {
124 stmt := &qlbStmt{conn: m, query: query}
125 return stmt.Query(args)
126}
127
128// Prepare returns a prepared statement, bound to this connection.
129func (m *qlbConn) Prepare(query string) (driver.Stmt, error) {

Callers 15

qsEvalFunction · 0.45
qsDeprecateEvalFunction · 0.45
urlMinusQsEvalFunction · 0.45
UrlWithQueryEvalFunction · 0.45
TestFileSelectSimpleFunction · 0.45
BenchmarkFileSqlWhereFunction · 0.45
TestJsonSelectSimpleFunction · 0.45
BenchmarkJsonSqlWhereFunction · 0.45
SetupMethod · 0.45
WalkSourceSelectMethod · 0.45
TestSqlCsvDriverSimpleFunction · 0.45

Calls 1

QueryMethod · 0.95

Tested by 12

TestFileSelectSimpleFunction · 0.36
BenchmarkFileSqlWhereFunction · 0.36
TestJsonSelectSimpleFunction · 0.36
BenchmarkJsonSqlWhereFunction · 0.36
TestSqlCsvDriverSimpleFunction · 0.36
TestSqlCsvDriverSubQueryFunction · 0.36
TestSqlDbConnFailureFunction · 0.36
TestExecInsertFunction · 0.36
TestExecUpdateAndUpsertFunction · 0.36