Subject: | _insert_bulk not looking at all column values |
No paste!
from "ghenry" at 217.168.150.38
data_type: 'integer' and is_nullable: 1
format options below
DBIx::Class::Storage::DBI::_insert_bulk(): Incorrect value (expecting SCALAR-ref \'NULL') for column 'id_ratecard' in populate slice:
{
a2b_custom1 => "NULL",
a2b_custom2 => "NULL",
buycost => "0.00550",
calledstation => "441225900800",
card_id => 1,
destination => 441225,
dnid => "441225900800",
id => 11,
id_card_package_offer => \"NULL",
id_did => \"NULL",
id_ratecard => 16054,
id_tariffgroup => 1,
id_tariffplan => 1,
id_trunk => 2,
nasipaddress => "",
real_sessiontime => 66,
sessionbill => "0.015",
sessionid => "SIP/0ad43660",
sessiontime => 66,
sipiax => 0,
src => "4654654646",
starttime => "2019-08-20 13:20:15",
stoptime => "2019-08-20 13:21:21",
terminatecauseid => 1,
uniqueid => "1250770812.24",
} at t/lib/Helpers.pm line 46
Spec:
=head2 id_ratecard
data_type: 'integer'
is_nullable: 1
id_ratecard is NULL on some other records in this data.
Doesn't look at them all:
https://metacpan.org/release/DBIx-Class/source/lib/DBIx/Class/Storage/DBI.pm#L2177
Thanks.