Subject: | Small documentation error in Sql::Simple->update() method |
in the examples block for the Sql::Simple->update() method, it shows:
# update multiple times with one set value. (a where "in" is advisable)
Sql::Simple->update('produce', { 'price' = .50 },
[ { 'name' => 'lettuce' }, { 'name' => 'onions' } );
- note the [ is unclosed, I assume it should be:
# if you have a reason (and I can't think of one) to execute
# update multiple times with one set value. (a where "in" is advisable)
Sql::Simple->update('produce', { 'price' = .50 },
[ { 'name' => 'lettuce' }, { 'name' => 'onions' } ] );