story
As a developer, I'd like to be able to arbitrarily parameterize SQL queries
discussion
It is possible to pass params in the body of an etl/run API call. Given a body like
it should be the case that the ExecContext call:
- Looks for
:key in the SQL, and if present
- Binds
:key to the value before making the SQL call.
This is what is already done with :date, :key_id, and :app_id. It should be done with the params as well.
acceptance
story
As a developer, I'd like to be able to arbitrarily parameterize SQL queries
discussion
It is possible to pass params in the body of an
etl/runAPI call. Given a body likeit should be the case that the
ExecContextcall::keyin the SQL, and if present:keyto the value before making the SQL call.This is what is already done with
:date,:key_id, and:app_id. It should be done with the params as well.acceptance