Specify templates are defined at the query level

This commit is contained in:
cgonzalez 2021-03-23 13:25:38 +00:00
parent a8a6cc3b21
commit 0787cc8bb5

View File

@ -449,7 +449,7 @@ If a query of a job fails (and onerror fallbacks for that query and job are defi
#### Templates #### Templates
Batch Queries provide a simple way to get the error message and the job identifier to be used in your fallbacks, by using the following templates: Batch Queries provide a simple way to get the error message and the job identifier to be used in your fallbacks defined at the query level, by using the following templates:
- `<%= error_message %>`: will be replaced by the error message raised by the database. - `<%= error_message %>`: will be replaced by the error message raised by the database.
- `<%= job_id %>`: will be replaced by the job identifier that Batch Queries provides. - `<%= job_id %>`: will be replaced by the job identifier that Batch Queries provides.