MobilityDB 1.1

◆ temporal_cmp()

int temporal_cmp ( const Temporal temp1,
const Temporal temp2 
)

Return -1, 0, or 1 depending on whether the first temporal value is less than, equal, or greater than the second one.

Note
Function used for B-tree comparison
SQL Function:
tbool_cmp, tint_cmp, tfloat_cmp, ttext_cmp, etc.