We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ie. $where=date between '2015-01-10T12:00:00' and '2015-01-10T14:00:00'
$where=date between '2015-01-10T12:00:00' and '2015-01-10T14:00:00'
https://dev.socrata.com/docs/functions/between.html
How is this written in postgres?
The text was updated successfully, but these errors were encountered:
Also not between, though that's not supported by node-soda2-parser
not between
Sorry, something went wrong.
I believe Postgres dates are greater than and less than each other, like numerical values. So I've written the above as
select * from datetable where datecol <= '2015-01-10T12:00:00' and datecol >= '2015-01-10T14:00:00'
I think.
It probably supports both. Looks like between and is supported too:
https://www.postgresql.org/docs/9.1/static/functions-comparison.html
No branches or pull requests
ie.
$where=date between '2015-01-10T12:00:00' and '2015-01-10T14:00:00'
https://dev.socrata.com/docs/functions/between.html
How is this written in postgres?
The text was updated successfully, but these errors were encountered: