Gossamer Forum
Home : Products : Gossamer Links : Discussions :

GT::SQL::Condition help

Quote Reply
GT::SQL::Condition help
hello

I want do something like:

y $cond_required = GT::SQL::Condition->new( ['ID', 'IN', \@cids], ['Payment_Mode', '=', '3'] );

this works fine, but when I add another Payment_Mode statement something like:

y $cond_required = GT::SQL::Condition->new( ['ID', 'IN', \@cids], ['Payment_Mode', '=', '3']], ['Payment_Mode', '=', '1'] );

it won't work,
are there any suggestions for it?
Subject Author Views Date
Thread GT::SQL::Condition help ridesworld 2215 Jun 27, 2004, 2:59 PM
Post Re: [ridesworld] GT::SQL::Condition help
Andy 2157 Jun 28, 2004, 1:23 AM
Thread Re: [ridesworld] GT::SQL::Condition help
afinlr 2167 Jun 28, 2004, 5:10 AM
Thread Re: [afinlr] GT::SQL::Condition help
Andy 2150 Jun 28, 2004, 7:33 AM
Thread Re: [Andy] GT::SQL::Condition help
afinlr 2141 Jun 28, 2004, 7:44 AM
Post Re: [afinlr] GT::SQL::Condition help
ridesworld 2133 Jun 28, 2004, 1:21 PM