Gossamer Forum
Quote Reply
Condition - help
is there an easier way to combine two "not" conditions than this?

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
Subject Author Views Date
Thread Condition - help ryel01 1440 Aug 23, 2004, 10:37 PM
Thread Re: [ryel01] Condition - help
brewt 1376 Aug 24, 2004, 12:45 AM
Post Re: [brewt] Condition - help
ryel01 1362 Aug 24, 2004, 12:48 AM