MCPcopy Index your code
hub / github.com/coder/coder / Scan

Method Scan

coderd/database/models.go:899–906  ·  view source on GitHub ↗

Scan implements the Scanner interface.

(value interface{})

Source from the content-addressed store, hash-verified

897
898// Scan implements the Scanner interface.
899func (ns *NullAiSeatUsageReason) Scan(value interface{}) error {
900 if value == nil {
901 ns.AiSeatUsageReason, ns.Valid = "", false
902 return nil
903 }
904 ns.Valid = true
905 return ns.AiSeatUsageReason.Scan(value)
906}
907
908// Value implements the driver Valuer interface.
909func (ns NullAiSeatUsageReason) Value() (driver.Value, error) {

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.45

Tested by

no test coverage detected