MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Type

Method Type

server/expression/array_agg.go:86–89  ·  view source on GitHub ↗

Type implements sql.Expression

(ctx *sql.Context)

Source from the content-addressed store, hash-verified

84
85// Type implements sql.Expression
86func (a *ArrayAgg) Type(ctx *sql.Context) sql.Type {
87 dt := a.selectExprs[0].Type(ctx).(*types.DoltgresType)
88 return dt.ToArrayType()
89}
90
91// IsNullable implements sql.Expression
92func (a *ArrayAgg) IsNullable(ctx *sql.Context) bool {

Callers

nothing calls this directly

Calls 2

ToArrayTypeMethod · 0.80
TypeMethod · 0.65

Tested by

no test coverage detected