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

Method Scan

coderd/database/models.go:1113–1120  ·  view source on GitHub ↗

Scan implements the Scanner interface.

(value interface{})

Source from the content-addressed store, hash-verified

1111
1112// Scan implements the Scanner interface.
1113func (ns *NullAutomaticUpdates) Scan(value interface{}) error {
1114 if value == nil {
1115 ns.AutomaticUpdates, ns.Valid = "", false
1116 return nil
1117 }
1118 ns.Valid = true
1119 return ns.AutomaticUpdates.Scan(value)
1120}
1121
1122// Value implements the driver Valuer interface.
1123func (ns NullAutomaticUpdates) Value() (driver.Value, error) {

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.45

Tested by

no test coverage detected