interval_pl_date_callable is the callable logic for the interval_pl_date function.
(ctx *sql.Context, _ [3]*pgtypes.DoltgresType, val1 any, val2 any)
| 317 | |
| 318 | // interval_pl_date_callable is the callable logic for the interval_pl_date function. |
| 319 | func interval_pl_date_callable(ctx *sql.Context, _ [3]*pgtypes.DoltgresType, val1 any, val2 any) (any, error) { |
| 320 | return intervalPlusNonInterval(val1.(duration.Duration), val2.(time.Time)) |
| 321 | } |
| 322 | |
| 323 | // interval_pl_date represents the PostgreSQL function of the same name, taking the same parameters. |
| 324 | var interval_pl_date = framework.Function2{ |
nothing calls this directly
no test coverage detected