Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: Problems Using Join in DBIx::Class

by 1nickt (Abbot)
on Dec 29, 2017 at 04:26 UTC ( #1206390=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %where = (
        status => ['Offered','Denied','Cancelled','Conditional Offer'],
        sent_email => { '!=' => [ -and => undef, '0000-00-00' ] },
    );
    
  2. or download this
    use strict; use warnings; use feature 'say';
    use Data::Dumper;
    ...
    say Dumper \@bind;
    
    __END__
    
  3. or download this
    SELECT sent_email FROM TblRequests WHERE ( ( ( sent_email IS NOT NULL 
    +AND sent_email != ? ) AND ( status = ? OR status = ? OR status = ? OR
    + status = ? ) ) )
    $VAR1 = [
    ...
      'Cancelled',
      'Conditional Offer'
    ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2019-03-23 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (114 votes). Check out past polls.

    Notices?