
jshirley at gmail
Nov 15, 2009, 9:38 AM
Post #3 of 3
(624 views)
Permalink
|
2009/11/15 Octavian Râşniţă <orasnita [at] gmail> > Hi, > > After I constructed a resultset object, I can get the hash of attributes > used for generating it using: > my $attrs = $rs->{attrs} > > But if I get a row object from that resultset, I can't get the attributes > anymore using: > > my $row = $rs->first; > my $attrs = $row->{attrs}; > > Is there a way of getting the attributes used for searching, ordering, > paginating... from a row object? > > I want to use those attributes for generating a digest key in order to > store the object in the cache, and I need to get those attributes after I > created the row object. > > Thank you. > > Octavian > > > > You seem to have accidentally posted to the Catalyst mailing list, the DBIx::Class mailing list is at http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class -J
|