Subject: | Arbitrary SQL through a custom ResultSource is hard to pass bind params to |
I've followed the recipe in the Cookbook at "Arbitrary SQL through a
custom ResultSource", and it's Hard to pass the right bind params. It
would be helpful if they could be named parameters instead of having to
be an ordered list when I make a query.
Right now I have to do this:
bind => [ $customer_id, $service_id, ... ]
but it would be more convenient, and easier to maintain, if I could do
this:
bind => {
customer_id => $customer_id,
service_id => $service_id,
...
}