diff --git a/docs/how-tos/working-with-postgresql-data-types.rst b/docs/how-tos/working-with-postgresql-data-types.rst index c5095bd9f..c439301d0 100644 --- a/docs/how-tos/working-with-postgresql-data-types.rst +++ b/docs/how-tos/working-with-postgresql-data-types.rst @@ -58,17 +58,17 @@ Someone located in Cairo can retrieve the data using their local time, too: The response has the date in the time zone configured by the server: ``UTC -05:00``. -You can use other comparative filters and also `PostgreSQL special date/time input values `_. For instance, to get the reports that are due after today you would do: +You can use other comparative filters and also all the `PostgreSQL special date/time input values `_ as illustrated in this example: .. tabs:: .. code-tab:: http - GET /reports?due_date=gt.today HTTP/1.1 + GET /reports?or=(and(due_date.gte.today,due_date.lte.tomorrow),and(due_date.gt.-infinity,due_date.lte.epoch)) HTTP/1.1 .. code-tab:: bash Curl - curl "http://localhost:3000/reports?due_date=gt.today" + curl "http://localhost:3000/reports?or=(and(due_date.gte.today,due_date.lte.tomorrow),and(due_date.gt.-infinity,due_date.lte.epoch))" .. code-block:: json