Tuesday, September 6, 2011

Example #21 - Operators for inline filters

I couldn't find a complete list on the SODA site of the operators available for use in an inline filter.  Socrata kindly provide one.

All types:
EQUALS
NOT_EQUALS
IS_BLANK
IS_NOT_BLANK

Textual types:
STARTS_WITH
CONTAINS
NOT_CONTAINS

Numeric and date types:
LESS_THAN
LESS_THAN_OR_EQUALS
GREATER_THAN
GREATER_THAN_OR_EQUALS
BETWEEN

Location:
WITHIN_CIRCLE

All operators are binary except for is/isnot blank, which are unary, and within circle, which is tri-ary.

(Thanks Clint!)

No comments:

Post a Comment