Load bulk loads the provided data into the current Record model.
(data map[string]any)
| 939 | |
| 940 | // Load bulk loads the provided data into the current Record model. |
| 941 | func (m *Record) Load(data map[string]any) { |
| 942 | for k, v := range data { |
| 943 | m.Set(k, v) |
| 944 | } |
| 945 | } |
| 946 | |
| 947 | // GetBool returns the data value for "key" as a bool. |
| 948 | func (m *Record) GetBool(key string) bool { |