Stop requiring explicit bindtype specification for non-scalar references
authorPeter Rabbitson <ribasushi@cpan.org>
Tue, 3 Nov 2015 10:47:34 +0000 (11:47 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Fri, 17 Jun 2016 13:41:14 +0000 (15:41 +0200)
commite407b4ac86ccfbd6e721d459c04561899a701bac
tree82b3540ff1c9a46a7928b68500b68b3c7bdff5a4
parentf21ae8f77062762fc2d9aef89242b59f27172b3c
Stop requiring explicit bindtype specification for non-scalar references

( cherry-pick of 0e3647497e )

As ilmari correctly pointed out this is not necessary, I am not sure why I
didn't catch this on review...

<ilmari> ribasushi: why does DBIC think every DBD needs speical attrs to bind non-scalar values?
<ilmari> DBD::Pg handles binding arrayrefs autmoatically
<ribasushi> ilmari: at the time this was written DBD::Pg *did not* auto-infer bindtype for arrays, that's a relatively new thing
<ribasushi> ilmari: hmmm... this does not seem to be the case, will dig deeper...
Changes
lib/DBIx/Class/Storage/DBI.pm
t/72pg.t
t/sqlmaker/bind_transport.t