Hi Sergiy,
Thanks for this detailed study. You have a very good point, and I
realize that indeed the treatment of select/insert/update with
respect to bind options is both inconsistent and incomplete. I never
worked with PostgreSQL ; I wanted to , but after heavy debate my
company chose Oracle :-(
Your suggestion looks good, but it's not trivial to implement.
Several details need to be sorted out, since it would imply changes
in SQL::Abstract::More, in DBIDM::Table.pm, in
DBIDM::ConnectedSource, and possibly other places. So I'm afraid it
will require some time before before a new release with a coherent
and complete implementation of such features can be published.
Of course, you are welcome to send pull requests to
https://github.com/damil/DBIx-DataModel and
https://github.com/damil/SQL-Abstract-More.Or before that, we can
enter into a more detailed discussion about design issues if you
already studied deeper aspects of that proposal.
Thanks again, and I hope we can come up with something practical
without waiting too long.
Cheers, Laurent D.