MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / buildQuery

Function buildQuery

types/xxx_test.go:132–144  ·  view source on GitHub ↗
(query string, args ...interface{})

Source from the content-addressed store, hash-verified

130}
131
132func buildQuery(query string, args ...interface{}) Query {
133 var nargs = make([]NamedArg, len(args))
134 for i := range args {
135 nargs[i] = NamedArg{
136 Name: "",
137 Value: args[i],
138 }
139 }
140 return Query{
141 Pattern: query,
142 Args: nargs,
143 }
144}
145
146func buildRequest(qt QueryType, qs []Query) (r *Request) {
147 var (

Callers 1

BenchmarkTypesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected