[CDBI] delete on table with multiple pks

Jim Salladin jsalladin at gmail.com
Fri Nov 25 06:02:57 GMT 2005


Hi all,

I could not find some info in the docs. I just want to delete an
object that is instantiated with a hash of two primary keys. I tried
this:
TableClass->retrieve(%pks)->delete;

The error I get is this:
Can't delete 1/3: DBD::Oracle::st execute failed: called with 1 bind
variables when 2 are needed.

The retrieve is working fine, but the delete is not. Any hints to what I can do?

Thanks!




More information about the ClassDBI mailing list