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

Function NewContextSimple

datasource/context.go:147–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147func NewContextSimple() *ContextSimple {
148 return &ContextSimple{Data: make(map[string]value.Value), ts: time.Now(), cursor: 0}
149}
150func NewContextSimpleData(data map[string]value.Value) *ContextSimple {
151 return &ContextSimple{Data: data, ts: time.Now(), cursor: 0}
152}

Callers 14

TestNestedFunction · 0.92
TestRunProtoTestsFunction · 0.92
TestRunSqlTestsFunction · 0.92
TestFilterQlVmFunction · 0.92
TestFilterContextsFunction · 0.92
runParseFunction · 0.92
runVmFunction · 0.92
verifyBenchmarkSqlFunction · 0.92
TestSqlDeleteFunction · 0.92
verifySqlFunction · 0.92
verifySqlWriteFunction · 0.92

Calls

no outgoing calls

Tested by 10

TestNestedFunction · 0.74
TestRunProtoTestsFunction · 0.74
TestRunSqlTestsFunction · 0.74
TestFilterQlVmFunction · 0.74
TestFilterContextsFunction · 0.74
verifyBenchmarkSqlFunction · 0.74
TestSqlDeleteFunction · 0.74
verifySqlFunction · 0.74
verifySqlWriteFunction · 0.74