[DBIx-Class-Devel] [dbix-class] Example syntax doesn't play with SQL::Abstract (#77)

Dagfinn Ilmari Mannsåker ilmari at ilmari.org
Mon Apr 27 12:08:28 GMT 2015


Sebastian Podjasek <notifications at github.com> writes:

> You get errors like:
> `[SQL::Abstract::_assert_bindval_matches_bindtype] Fatal: bindtype
> 'columns' selected, you need to pass: [column_name =>
> bind_value]`. Going through their documentation it should be written
> like in this commit.

Which version of DBIx::Class are you using?  The example syntax has been
valid since version v0.08250.

https://metacpan.org/changes/distribution/DBIx-Class#L214

DBIx::Class provides shortcuts for several common cases, above and
beyond what SQL::Abstract does.  See the table at the end of the DBIC
BIND VALUES section:

https://metacpan.org/pod/DBIx::Class::ResultSet#DBIC-BIND-VALUES

-- 
- Twitter seems more influential [than blogs] in the 'gets reported in
  the mainstream press' sense at least.               - Matt McLeod
- That'd be because the content of a tweet is easier to condense down
  to a mainstream media article.                      - Calle Dybedahl



More information about the DBIx-Class-Devel mailing list