Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example syntax doesn't play with SQL::Abstract #77

Closed
wants to merge 1 commit into from
Closed

Example syntax doesn't play with SQL::Abstract #77

wants to merge 1 commit into from

Conversation

SPodjasek
Copy link

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.

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.
@dbsrgits-sync
Copy link

Sebastian Podjasek notifications@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

@ilmari ilmari closed this Apr 27, 2015
@SPodjasek
Copy link
Author

Should have checked that on start. It was rather old machine that I've encountered this issue - version 0.08127, no possibilities to update so we'll have to stick with SQL::Abstract syntax for compatibility in here.

Sorry for bothering.

@SPodjasek SPodjasek deleted the sql-abstract-having-doc branch April 28, 2015 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants