func (d Duration) Value() (driver.Value, error) {
	return driver.Value(int64(d)), nil
}
func (d Duration) Value() (driver.Value, error) {
	return driver.Value(int64(d)), nil
}
func ( d Duration ) Value ( ) ( driver . Value , error ) { return driver . Value ( int64 ( d ) ) , nil }
// Value converts Duration to a primitive value ready to be written to a database.
Value converts Duration to a primitive value ready to be written to a database .