On 6/6/07, John Goulah <[EMAIL PROTECTED]> wrote:

Ok, I appreciate the help, but rather than reiterating what I already had in
the initial post as responses, how about a real answer?

The fact that you don't like the answers doesn't make them fake.  It
would be easier to learn to work with the API the way it was meant to
be used, instead of fighting with it.

Anyway I found the
answer myself, for anyone interested:

From DBIx::Class::Manual::Cookbook
(http://search.cpan.org/~mstrout/DBIx-Class-0.07000/lib/DBIx/Class/Manual/Cookbook.pod#Retrieving_a_row_object
)
 my $schema = $cd->result_source->schema;
 my $artist_rs = $schema->resultset('Artist');

I don't see how this has anything to do with your question, are you
sure it does what you think it does?  The snippet you posted is for
getting a $schema object from a row object.  Your question was how to
obtain a resultset object which represents a single row.

-- Brandon

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to