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>
Tue, 3 Nov 2015 10:47:34 +0000 (11:47 +0100)
commit0e3647497ee2cbaa511b05262c902ee50d813c32
treebe0332bd2ba0475f055197023cbc5affa2a6c95c
parentda9346a03a7df80d02f40584422af71fbd2ca4f8
Stop requiring explicit bindtype specification for non-scalar references

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