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

Method Type

server/node/create_domain.go:232–237  ·  view source on GitHub ↗

Type implements the interface sql.Expression.

(ctx *sql.Context)

Source from the content-addressed store, hash-verified

230
231// Type implements the interface sql.Expression.
232func (d *DomainColumn) Type(ctx *sql.Context) sql.Type {
233 if d.Typ.IsEmptyType() {
234 return pgtypes.Unknown
235 }
236 return d.Typ
237}
238
239// IsNullable implements the interface sql.Expression.
240func (d *DomainColumn) IsNullable(ctx *sql.Context) bool {

Callers

nothing calls this directly

Calls 1

IsEmptyTypeMethod · 0.80

Tested by

no test coverage detected