MCPcopy Create free account
hub / github.com/cockroachdb/apd / Value

Method Value

decimal.go:768–770  ·  view source on GitHub ↗

Value implements the database/sql/driver.Valuer interface. It converts d to a string.

()

Source from the content-addressed store, hash-verified

766// Value implements the database/sql/driver.Valuer interface. It converts d to a
767// string.
768func (d Decimal) Value() (driver.Value, error) {
769 return d.String(), nil
770}
771
772// Scan implements the database/sql.Scanner interface. It supports string,
773// []byte, int64, float64.

Callers 1

ValueMethod · 0.45

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected