If you are stuck with a Jinja issue, it can get confusing where to check for more information. We recommend you check (in order):
- Jinja's Template Designer Docs: This is the best reference for most of the Jinja you'll use
- Our Jinja function reference: This documents any additional functionality we've added to Jinja in dbt.
- Agate's table docs: If you're operating on the result of a query, dbt will pass it back to you as an agate table. This means that the methods you call on the table belong to the Agate library rather than Jinja or dbt.