in reply to DBI prepare() vs do() usage
# update using the dbh handle my ($query, @bind) = $sqla->update( 'mytable', { field2 => $field2_new2 }, { field2 => $field2_new1 }, ); $dbh->do($query, undef, @bind);
Can't call method "do" on an undefined value at C:/Users/user/eclipse- +workspace/myproject/example.pl line 73, <__ANONIO__> line 3.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI prepare() vs do() usage
by LanX (Saint) on Aug 01, 2020 at 01:12 UTC |