MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Scale

Method Scale

pkg/sql/types/types.go:965–967  ·  view source on GitHub ↗

Scale is an alias method for Width, used for clarity for types in DecimalFamily.

()

Source from the content-addressed store, hash-verified

963// Scale is an alias method for Width, used for clarity for types in
964// DecimalFamily.
965func (t *T) Scale() int32 {
966 return t.InternalType.Width
967}
968
969// ArrayContents returns the type of array elements. This is nil for types that
970// are not in the ArrayFamily.

Callers 2

SQLStringMethod · 0.95
PerformCastFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected