any idea why this:

$row->update({ output => \"CONCAT(output, $value)" })

would sometimes throw this:

DBIx::Class::InflateColumn::update(): Error executing 'UPDATE .... WHERE ( id = ? )': called with 1 bind variables when 0 are needed

??


the output column can get large so I don't want to re-set it fully everytime to just append to it...

maybe $value is not being escaped properly??
However I do this before that 'update' call:

$value = $db->storage->dbh->quote($value);
$value =~ s/(?<!\\)\?/\\?/g;

any ideas greatly appreciated... thanks!
        Mark




_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to