On Mon, Sep 25, 2006 at 07:04:32AM -0700, Roderick A. Anderson wrote:
> So if an update query should fail because NULL got passed to a NOT NULL
> field, a letter got into an INT field, etc. or an delete fails because
> the key doesn't exist. I'm looking to determine if the update or delete
> succeeds then do one thing if it fails then another.
Run it (in a transaction) in an eval{} block, then check [EMAIL PROTECTED]
--
Chisel Wright
e: [EMAIL PROTECTED]
w: http://www.herlpacker.co.uk/
This is not an automated signature. I type this in to the bottom of every
message.
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/