Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Class::DBI vs. DBIx::Class

by rafl (Friar)
on Jun 25, 2006 at 11:16 UTC ( #557422=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my $persons = $schema->resultset('Person');
    my $active_persons = $person->search({ active => 1 });
  2. or download this
    while (my $person = $person->next) {
  3. or download this
    my @person_objs = $person->all;
  4. or download this
        writeup_comment.title => 'Foo',
        prefetch => 'writeup',
    # gets you all persons with have recieved a comment with the title 'Fo
    +o' for one of their writeups, for example
  5. or download this
    my $writeups = $active_persons->search_related('Writeup');

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://557422]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2016-10-21 02:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (284 votes). Check out past polls.