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

Greater than with simple table select

Quote Reply
Greater than with simple table select
I am reading the GT docs and I came across:

my $count = $obj->count ($condition);


But what format should $condition be in?

For example, lets say I want to count all the links where hits > 0. What should $condition be set at? It seems to want something other than 'Hits' > 0.

Also This:

Find all rows with field_name > value:

field_name-gt => value



I can't seem to get this to work in a select either. Would someone mind showing me an example of how to use this?

(I am having those font size issues again... I can have 8 or 12 but not 10 point!!)


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jun 14, 2002, 11:05 AM
Subject Author Views Date
Thread; hot thread Greater than with simple table select Ian 8492 Jun 14, 2002, 11:04 AM
Thread; hot thread Re: [Ian] Greater than with simple table select
Paul 8319 Jun 14, 2002, 11:16 AM
Thread; hot thread Re: [Paul] Greater than with simple table select
Ian 8328 Jun 14, 2002, 11:42 AM
Thread; hot thread Re: [Ian] Greater than with simple table select
Paul 8309 Jun 14, 2002, 11:45 AM
Post; hot thread Re: [Paul] Greater than with simple table select
Ian 8264 Jun 14, 2002, 11:47 AM
Thread; hot thread Re: [Paul] Greater than with simple table select
Alex 8310 Jun 14, 2002, 12:02 PM
Post; hot thread Re: [Alex] Greater than with simple table select
Ian 8335 Jun 14, 2002, 12:07 PM
Thread; hot thread Re: [Alex] Greater than with simple table select
Paul 8323 Jun 14, 2002, 12:08 PM
Thread; hot thread Re: [Paul] Greater than with simple table select
Alex 8339 Jun 14, 2002, 12:21 PM
Post; hot thread Re: [Alex] Greater than with simple table select
Paul 8263 Jun 14, 2002, 12:25 PM
Thread; hot thread Re: [Alex] Greater than with simple table select
Ian 8260 Jun 14, 2002, 12:28 PM
Thread; hot thread Re: [Ian] Greater than with simple table select
Alex 8297 Jun 14, 2002, 12:31 PM
Post; hot thread Re: [Alex] Greater than with simple table select
Ian 8253 Jun 14, 2002, 12:41 PM
Thread; hot thread Re: [Alex] Greater than with simple table select
Ian 8269 Jun 14, 2002, 1:41 PM
Thread; hot thread Re: [Ian] Greater than with simple table select
Alex 8315 Jun 14, 2002, 1:47 PM
Post; hot thread Re: [Alex] Greater than with simple table select
Ian 8241 Jun 14, 2002, 1:49 PM
Post; hot thread Re: [Alex] Greater than with simple table select
Ian 8218 Jun 15, 2002, 7:28 PM
Post; hot thread Re: [Ian] Greater than with simple table select
Alex 8310 Jun 14, 2002, 11:24 AM