Skip to content

Commit

Permalink
docs: wrap in double quotes the filters with reserved characters in l…
Browse files Browse the repository at this point in the history
…ogical operators
  • Loading branch information
laurenceisla committed Jun 5, 2024
1 parent a2d00e3 commit db85faf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/references/api/tables_views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ You can also apply complex logic to the conditions:
-d "student=is.true" \
-d "or=(age.eq.14,not.and(age.gte.11,age.lte.17))"
If the filter value has a :ref:`reserved character <reserved-chars>`, then you need to wrap it in double quotes:

.. code-block:: bash
curl -g 'http://localhost:3000/survey?or=(age_range.adj."[18,21)",age_range.cs."[30,35]")'
.. _modifiers:

Operator Modifiers
Expand Down

0 comments on commit db85faf

Please sign in to comment.