> I tried to use delete_all, but there is no primary key in the table so it 
> failed. what else can i do?

There is a discussion in the manual about this:

But you could alternatively use

But this won't execute any on-delete triggers or cascade to MyTable's 

- Paul

This email contains information that is confidential and which may be legally 
privileged. If you have received this email in error, please notify the sender 
immediately and delete the email. This email is intended solely for the use of 
the intended recipient and you may not use or disclose this email in any way.

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/dbix-class@lists.scsys.co.uk

Reply via email to