Min implements the Datum interface.
(ctx *EvalContext)
| 3662 | |
| 3663 | // Min implements the Datum interface. |
| 3664 | func (d *DOid) Min(ctx *EvalContext) (Datum, bool) { |
| 3665 | min, ok := d.DInt.Min(ctx) |
| 3666 | return &DOid{*min.(*DInt), d.semanticType, ""}, ok |
| 3667 | } |
| 3668 | |
| 3669 | // DOidWrapper is a Datum implementation which is a wrapper around a Datum, allowing |
| 3670 | // custom Oid values to be attached to the Datum and its types.T. |