MobilityDB 1.1

◆ tbox_cmp()

int tbox_cmp ( const TBox *  box1,
const TBox *  box2 
)

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

The time dimension is compared first and then the value dimension.

Note
Function used for B-tree comparison
SQL Function:
tbox_cmp()