I have a question about DBIx::Class.
Assume I have a resultset with moniker 'Hubba' and I do the following:
So retrieving twice the same row with primary key 1 I get two different instances describing the same physical row.my $h1 = $schema->resultset('Hubba')->find(1); my $h2 = $schema->resultset('Hubba')->find(1);
Is there a way to use DBIx::Class in such a way that I would get back the same instance in case as above?
Many thanks!
In reply to object identity in DBIx::Class by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |