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

Method Type

server/node/create_function.go:238–243  ·  view source on GitHub ↗

Type implements the interface sql.Expression.

(ctx *sql.Context)

Source from the content-addressed store, hash-verified

236
237// Type implements the interface sql.Expression.
238func (f *FunctionColumn) Type(ctx *sql.Context) sql.Type {
239 if f.Typ.IsEmptyType() {
240 return pgtypes.Unknown
241 }
242 return f.Typ
243}
244
245// IsNullable implements the interface sql.Expression.
246func (f *FunctionColumn) IsNullable(ctx *sql.Context) bool {

Callers

nothing calls this directly

Calls 1

IsEmptyTypeMethod · 0.80

Tested by

no test coverage detected