is there an easier way to combine two "not" conditions than this?
archive => '=' => "1"
); # Get all records that are...
$cond1->not;
my $cond2 = GT::SQL::Condition->new(
on_hold => '=' => "1"
);
$cond2->not;
my $cond = GT::SQL::Condition->new(
$cond1,
$cond2
);
regan
Code:
my $cond1 = GT::SQL::Condition->new( archive => '=' => "1"
); # Get all records that are...
$cond1->not;
my $cond2 = GT::SQL::Condition->new(
on_hold => '=' => "1"
);
$cond2->not;
my $cond = GT::SQL::Condition->new(
$cond1,
$cond2
);
regan