Help for this page

Select Code to Download


  1. or download this
    # concise class definitions
    FooBar->table('foobar');
    ...
    $wham->frobs
    #makes the (oversimplified SQL query)
    #  SELECT * FROM quux WHERE FooBar = $wham
    
  2. or download this
    FooBar->has_many(frobs => "Quux", 'foobar_id');
    
    $wham->frobs
    # makes the (oversimplified SQL query)
    #  SELECT * FROM quux WHERE foobar_id = $wham