Queries with parameters

Hi @Joshua_B,

I believe they are referring to using using the additionalScope parameter.

It looks like there is an example in the docs they linked where it is used in the context of being inside a mapping function where it is grabbing every row of a table's ID to pass as the additional scope to the used inside a query.

There is also a great forum post about using Additional Scope here.

The steps are:

  1. Go to the query builder, scroll down and expand the 'Additional Scope' there will be an input field to type out the key name and press enter to create it. It will look like a white pill once the key is defined. Save the query

  1. Where ever in a JS query you want to call the query and pass in a value for the additional scope, follow the below example. In this case I hard coded in a 2 but you can use {{}} syntax to dynamically chose a value.

Hope this helps!