Hello,
my $sth = $relation->select( 'Links.ID', { 'Category.ID' => $children }, GT::SQL::Condition->new('isNew', '=', 'Yes') );
I understand this code, but I don't know how to add in another condition: isValidated is 'yes'.
Could someone point this out to me please?
Thank you
my $sth = $relation->select( 'Links.ID', { 'Category.ID' => $children }, GT::SQL::Condition->new('isNew', '=', 'Yes') );
I understand this code, but I don't know how to add in another condition: isValidated is 'yes'.
Could someone point this out to me please?
Thank you