Hi,
See the docs on GT::SQL::Condition, it's what should be used for any advanced where clauses.
my $cond = GT::SQL::Condition->new('post_moved', '<>', 1);
$table->select($cond);
To do the select distinct, you would do:
$table->select('DISTINCT(column)', $cond);
Cheers,
Alex
--
Gossamer Threads Inc.
See the docs on GT::SQL::Condition, it's what should be used for any advanced where clauses.
my $cond = GT::SQL::Condition->new('post_moved', '<>', 1);
$table->select($cond);
To do the select distinct, you would do:
$table->select('DISTINCT(column)', $cond);
Cheers,
Alex
--
Gossamer Threads Inc.