Gossamer Forum
Home : Products : DBMan SQL : Development, Plugins and Globals :

opearator of GT::SQL::Table

Quote Reply
opearator of GT::SQL::Table
     
From the document, i found

Find all rows with field_name > value:

field_name => ">value"

or field_name-gt => value

when i have a test , it return no link or even error.

$sth = $tab->select( { Timestmp => ">1" } ); #### no link return

or $sth = $tab->select( { Timestmp-gt =>'1' } ); #### error




while i got correct result using
my $condition = GT::SQL::Condition->new( 'Timestmp', '>', '1');
$sth = $tab->select( { blah blah blah} , $condition );


weather i got something wrong with the syntax in first block of the code ?

Last edited by:

courierb: Sep 6, 2007, 11:34 AM
Subject Author Views Date
Post opearator of GT::SQL::Table courierb 4344 Sep 6, 2007, 11:32 AM