Skip to content
Snippets Groups Projects
Unverified Commit ac56346c authored by ajatamayo's avatar ajatamayo Committed by GitHub
Browse files

Fix typo in sql parameters user guide (#19564)

parent 7c03e3e5
No related merge requests found
......@@ -74,7 +74,7 @@ You can include multiple variables in the query, and Metabase will add multiple
### Optional clauses
You can make a clause optional in a query. For example, you can create an optional `WHERE` clause that contains a SQL variable, so that if no value is supplied to the variable (either in the filter or via the URL), the query will still run as if there were now `WHERE` clause.
You can make a clause optional in a query. For example, you can create an optional `WHERE` clause that contains a SQL variable, so that if no value is supplied to the variable (either in the filter or via the URL), the query will still run as if there were no `WHERE` clause.
To make a clause optional in your native query, type `[[brackets around a {% raw %}{{variable}}{% endraw %}]]`. If you input a value in the filter widget for the `variable`, then the entire clause is placed into the template; otherwise Metabase will ignore the clause.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment