Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Selecting data where column not equal?

Quote Reply
Selecting data where column not equal?
Hi there Smile,I am using the following statement to pull some data from the database:
Code:
my $sth = $DB->table('mytable')->select({owner => $USER->{Username}, id => $rowID } );

My delema is that I don't want the rows 'where id = $rowID',
I want the rows 'where id != $rowID'.

I have searched through the forums and read through the documentation, but all I found was
information about 'larger than'('id-gt => $rowID') and 'less than'('id-lt => $rowID').


Sacrifice is not about what you lose,
it is about what you gain in the process.
Subject Author Views Date
Thread Selecting data where column not equal? EZFrag 3199 Jun 13, 2008, 1:21 AM
Thread Re: [EZFrag] Selecting data where column not equal?
Andy 3089 Jun 13, 2008, 1:33 AM
Post Re: [Andy] Selecting data where column not equal?
EZFrag 3066 Jun 13, 2008, 1:48 AM