MCPcopy Create free account
hub / github.com/cockscomb/cel2sql / NewTypeProvider

Function NewTypeProvider

bq/provider.go:19–21  ·  view source on GitHub ↗
(schemas map[string]bigquery.Schema)

Source from the content-addressed store, hash-verified

17}
18
19func NewTypeProvider(schemas map[string]bigquery.Schema) *typeProvider {
20 return &typeProvider{schemas: schemas}
21}
22
23func (p *typeProvider) EnumValue(enumName string) ref.Val {
24 return types.NewErr("unknown enum name '%s'", enumName)

Callers 3

TestConvertFunction · 0.92

Calls

no outgoing calls

Tested by 3

TestConvertFunction · 0.74