Help for this page

Select Code to Download


  1. or download this
    $dbh->prepare( build_query( $dbh, getQueryInfo() ) );
    $sth->execute( getQueryVars() );
    
  2. or download this
    $dbh->prepare( build_query( $dbh, getBaseQuery(), getOrder() ) );
    $sth->execute( getQueryVars() );
    
  3. or download this
    if (@order) {
        $query .= ' ORDER BY ' . 
    ...
            map { $dbh->quote_identifier($_->[0]) . " $_->[1]" }
            @order;
    }
    
  4. or download this
    my @order = (
        [ Brand => 'ASC'  ],
        [ Model => 'ASC'  ],
        [ Year  => 'DESC' ],
    );