Mmm you could shorted that significantly.
return $DB->table('Category')->count( { Has_New_Links => "Yes", ID => $_[0] } );
}
Code:
sub { return $DB->table('Category')->count( { Has_New_Links => "Yes", ID => $_[0] } );
}
Subject | Author | Views | Date |
---|---|---|---|
Possible to get true/false tags from a global? | Andy | 4013 | Jun 20, 2003, 6:02 AM |
Re: [Andy] Possible to get true/false tags from a global? | Paul | 3877 | Jun 20, 2003, 6:25 AM |
Re: [Paul] Possible to get true/false tags from a global? | Andy | 3888 | Jun 20, 2003, 7:34 AM |
Re: [Andy] Possible to get true/false tags from a global? | carfac | 3870 | Jun 21, 2003, 12:33 PM |
Re: [carfac] Possible to get true/false tags from a global? | Andy | 3846 | Aug 22, 2003, 4:20 AM |
Re: [Andy] Possible to get true/false tags from a global? | yogi | 3829 | Aug 22, 2003, 8:12 AM |
Re: [yogi] Possible to get true/false tags from a global? | Andy | 3797 | Aug 22, 2003, 8:16 AM |
Re: [yogi] Possible to get true/false tags from a global? | Andy | 3776 | Aug 22, 2003, 8:28 AM |
Re: [Andy] Possible to get true/false tags from a global? | pugdog | 3781 | Aug 22, 2003, 12:31 PM |
Re: [pugdog] Possible to get true/false tags from a global? | Andy | 3768 | Aug 22, 2003, 11:50 PM |