From db85faf3ed881de964a8735058757fcf6a8c6413 Mon Sep 17 00:00:00 2001 From: Laurence Isla Date: Wed, 5 Jun 2024 17:53:21 -0500 Subject: [PATCH] docs: wrap in double quotes the filters with reserved characters in logical operators --- docs/references/api/tables_views.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/references/api/tables_views.rst b/docs/references/api/tables_views.rst index 3a5c47759..45840eed8 100644 --- a/docs/references/api/tables_views.rst +++ b/docs/references/api/tables_views.rst @@ -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 `, 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