MobilityDB 1.1

◆ tsequence_cmp()

int tsequence_cmp ( const TSequence seq1,
const TSequence seq2 
)

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

Precondition
The arguments are of the same base type
Note
Period and bounding box comparison have been done by the calling function temporal_cmp
SQL Function:
tbool_cmp(), tint_cmp(), tfloat_cmp(), ttext_cmp(), etc.