Gossamer Forum
Quote Reply
=> Operator
Heya,

I have a small script with the following line:

Code:
my $sth = $tbl->select(['Full_Name'], { FatherID => '0' });

FatherID can have any value including 0 (zero). The line above obviously selects all records where the FatherID field = 0. How do I rewrite this so the result is the inverse - that is, Id' like to select all records except those where the FatherID = 0.

This is part of a Gossamer-Threads global.

I have tried, "ne" and "!=".

Safe swoops
Sangiro
Subject Author Views Date
Thread => Operator sangiro 4879 Oct 9, 2003, 9:09 PM
Thread Re: [sangiro] => Operator
Andy 4794 Oct 10, 2003, 1:17 AM
Thread Re: [Andy] => Operator
sangiro 4749 Oct 11, 2003, 1:04 PM
Thread Re: [sangiro] => Operator
afinlr 4744 Oct 11, 2003, 1:12 PM
Post Re: [afinlr] => Operator
sangiro 4728 Oct 11, 2003, 1:36 PM