Set sets the value of the given column.
(name string, v any)
| 377 | |
| 378 | // Set sets the value of the given column. |
| 379 | func (s *SelectValues) Set(name string, v any) { |
| 380 | if *s == nil { |
| 381 | *s = make(SelectValues) |
| 382 | } |
| 383 | if pv, ok := v.(*any); ok && pv != nil { |
| 384 | v = *pv |
| 385 | } |
| 386 | (*s)[name] = v |
| 387 | } |
| 388 | |
| 389 | // Get returns the value of the given column. |
| 390 | func (s SelectValues) Get(name string) (any, error) { |
no outgoing calls