Value implements the [driver.Valuer] interface.
()
| 121 | |
| 122 | // Value implements the [driver.Valuer] interface. |
| 123 | func (d DateTime) Value() (driver.Value, error) { |
| 124 | return d.String(), nil |
| 125 | } |
| 126 | |
| 127 | // Scan implements [sql.Scanner] interface to scan the provided value |
| 128 | // into the current DateTime instance. |