example for execute is wrong, takes an array ref, not array
This commit is contained in:
parent
6cb66e4fc5
commit
5a47ca6f1b
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ Package for interfacing with SQL databases. This package implements Perl DBI fun
|
||||||
use WebGUI::SQL;
|
use WebGUI::SQL;
|
||||||
|
|
||||||
my $sth = WebGUI::SQL->prepare($sql);
|
my $sth = WebGUI::SQL->prepare($sql);
|
||||||
$sth->execute(@values);
|
$sth->execute([ @values ]);
|
||||||
|
|
||||||
$sth = WebGUI::SQL->read($sql);
|
$sth = WebGUI::SQL->read($sql);
|
||||||
$sth = WebGUI::SQL->unconditionalRead($sql);
|
$sth = WebGUI::SQL->unconditionalRead($sql);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue