Hi there,
Is it possible to add a condition to a line like this:
my $link_sth = $links->query_sth ($args);
This format seems to only allow us to pass a hash of args and nothing else. Is that correct? or is there a way to add a condition such as this:
my $cond = GT::SQL::Condition->new('ID', 'IN', \@ids);
$cond->bool('or') #where @ids is a list of links i'm sure are not going to appear otherwise.
to a $links->query_sth format?
Thanks for your help.
peace.
Is it possible to add a condition to a line like this:
my $link_sth = $links->query_sth ($args);
This format seems to only allow us to pass a hash of args and nothing else. Is that correct? or is there a way to add a condition such as this:
my $cond = GT::SQL::Condition->new('ID', 'IN', \@ids);
$cond->bool('or') #where @ids is a list of links i'm sure are not going to appear otherwise.
to a $links->query_sth format?
Thanks for your help.
peace.