Skip to main content
Module

x/soda/mod.ts>Where.between

SODA (Socrata) Client for Deno/Node
Latest
method Where.between
import { Where } from "https://deno.land/x/soda@0.4.5/mod.ts";

Select records where the value of a field is between two values

Works with the following datatypes:

  • Number
  • Floating timestamp
  • Fixed timestamp
  • Text

Parameters

field:
| string
| FieldObject<DataType.Number>
| FieldObject<DataType.FloatingTimestamp>
| FieldObject<DataType.FixedTimestamp>
| FieldObject<DataType.Text>

field name or Field instance

startValue: any

start value

endValue: any

end value