MobilityDB 1.1

◆ span_cmp()

int span_cmp ( const Span s1,
const Span s2 
)

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

Note
Function used for B-tree comparison
SQL Function:
intspan_cmp(), bigintspan_cmp(), floatspan_cmp(), period_cmp()
PyMEOS Function:
_cmp()