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

Function buildQuery

xenomint/xxx_test.go:68–80  ·  view source on GitHub ↗
(query string, args ...interface{})

Source from the content-addressed store, hash-verified

66)
67
68func buildQuery(query string, args ...interface{}) types.Query {
69 var nargs = make([]types.NamedArg, len(args))
70 for i := range args {
71 nargs[i] = types.NamedArg{
72 Name: "",
73 Value: args[i],
74 }
75 }
76 return types.Query{
77 Pattern: query,
78 Args: nargs,
79 }
80}
81
82func buildRequest(qt types.QueryType, qs []types.Query) *types.Request {
83 var (

Callers 6

TestChainFunction · 0.70
TestMuxServiceFunction · 0.70
TestStateFunction · 0.70
TestSerializableStateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected