[Dbix-class] Duplicate me.id in WHERE clause of simple query

Peter Rabbitson rabbit+dbic at rabbit.us
Tue Jan 25 10:26:26 GMT 2011


Winfried Neessen wrote:
> Hi Ronald,
> 
> Ronald J Kimball schrieb:
>> I don't see anything here that would cause a WHERE cause to be added 
>> in the first place, and the class name doesn't match the table name in 
>> your debug output..  Are you sure this is the right code snippet?
> Well, you are right. I forgot to mention that in the template I refer to 
> a relation of DB::Vorgaenge.

So can you repeat your question with a coherent, reproducible problem
description? I tried to trigger what you are seeing and I can't. Which
either means I am missing something, or that you forgot to mention yet
another crucial detail.

Please show us the whole code[1] :)

[1] http://www.shadowcat.co.uk/blog/matt-s-trout/show-us-the-whole-code/



More information about the DBIx-Class mailing list