MobilityDB  1.0

◆ arithop_tnumber_base1()

Temporal* arithop_tnumber_base1 ( FunctionCallInfo  fcinfo,
Datum(*)(Datum, Datum, Oid, Oid)  func,
TArithmetic  oper,
Temporal temp,
Datum  value,
Oid  basetypid,
bool  invert 
)

Generic arithmetic operator on a temporal number and a number.

Parameters
[in]fcinfoCatalog information about the external function
[in]funcArithmetic function
[in]operEnumeration that states the arithmetic operator
[in]tempTemporal number
[in]valueNumber
[in]basetypidOid of the base type
[in]invertTrue when the base value is the first argument of the function