MCPcopy Create free account
hub / github.com/cloudflare/go-stream / MakeTable

Function MakeTable

cube/pg/cube.go:73–82  ·  view source on GitHub ↗

* func AddDimensions(table *Table, rDims reflect.Value) { for i := 0; i < rDims.NumField(); i++ { if rDims.Field(i).Kind() == reflect.Struct && rDims.Type().Field(i).Anonymous == true { AddDimensions(table, rDims.Field(i)) } else { col := getDimensionPgType(i, rDims) if 0 == i { _,

(name string, cd cube.CubeDescriber)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

ExampleCreate2Function · 0.85
ExampleDropFunction · 0.85
ExampleInsertLineFunction · 0.85
TestInsertToDbFunction · 0.85
NewUpsertOpFunction · 0.85

Calls 5

NewTableFunction · 0.85
AddDimensionsFunction · 0.85
AddAggregatesFunction · 0.85
GetDimensionsMethod · 0.65
GetAggregatesMethod · 0.65

Tested by 4

ExampleCreate2Function · 0.68
ExampleDropFunction · 0.68
ExampleInsertLineFunction · 0.68
TestInsertToDbFunction · 0.68