Parameters

Data Access Token

Parameters are an optional way of providing signed values that can be interpolated into SQL-backed data sets.

They allow you to add in more complicated multi-tenancy rules than what can be provided in the secureFilters object.

For example, you might set the parameters to be;

{
  "user_id": "user one"
}

and then in your SQL-backed data set, you could use this value by doing;

SELECT
  user_name,
  payment_amount,
  payment_date
FROM payments
WHERE user_id = {{trusted.user_id}};