Created
May 19, 2020 13:05
-
-
Save jjn1056/7d45f9282821018b9d8018deb0675c1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $model = $c->model('Schema::Person')->new_result(+{}); | |
my $cc = $c->model('Schema::CreditCard')->new_result(+{}); | |
$model->credit_card_rs($cc, $cc, $cc); # This gives "DBIx::Class::ResultSet::search_rs(): Odd number of arguments to search" | |
$model->add_to_credit_card_rs($cc); # "DBIx::Class::ResultSource::_resolve_relationship_condition(): Argument to infer_values_based_on must be a hash " | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment