Re: search() without search criteria

[prev] [thread] [next] [Date index for 2005/04/29]

From: Will Hawes
Subject: Re: search() without search criteria
Date: 16:53 on 29 Apr 2005
Thanks to all for your contributions so far.

search({1 =3D> 1}...) should work (although because it's Friday afternoo=
n, won't work for me - I get "1 is not a column of..."), and third party=
 modules (e.g. Class::DBI::Plugin::Pager as Dave says) implement this ha=
ck at present. But is ultimately a workaround for the aforementioned lim=
itation in CDBI.

A patch to search() (or rather, =5Fdo=5Fsearch()) would be a better solu=
tion. The ability to pass an empty hash to search() is logical and would=
 take only a couple of extra lines of code to implement. It makes a lot =
more sense to fix it in CDBI rather than have Perrin, myself and everyon=
e who wants to search without criteria having to resort to a custom subc=
lass containing a hack, however minor.

Regards

WH

(message missing)

search() without search criteria
Will Hawes 12:36 on 29 Apr 2005

Re: search() without search criteria
Matt S Trout 13:18 on 29 Apr 2005

Re: search() without search criteria
Daniel Wijnands 14:06 on 29 Apr 2005

Re: search() without search criteria
Perrin Harkins 14:25 on 29 Apr 2005

Re: search() without search criteria
Will Hawes 16:53 on 29 Apr 2005

Re: search() without search criteria
Tony Bowden 18:38 on 29 Apr 2005

Re: search() without search criteria
Matt S Trout 19:38 on 29 Apr 2005

Re: search() without search criteria
Will Hawes 20:19 on 29 Apr 2005

Re: search() without search criteria
Tony Bowden 22:48 on 29 Apr 2005

Re: search() without search criteria
Perrin Harkins 16:40 on 30 Apr 2005

Re: search() without search criteria
David Baird 14:31 on 29 Apr 2005

Re: search() without search criteria
Peter Speltz 19:11 on 29 Apr 2005

Re: search() without search criteria
Tony Bowden 22:52 on 29 Apr 2005

Re: search() without search criteria
Will Hawes 12:13 on 30 Apr 2005

Re: search() without search criteria
Tony Bowden 12:19 on 30 Apr 2005

Re: search() without search criteria
merlyn (Randal L. Schwartz) 15:44 on 30 Apr 2005

Re: search() without search criteria
Will Hawes 17:45 on 30 Apr 2005

Re: search() without search criteria
Tony Bowden 10:27 on 01 May 2005

Re: search() without search criteria
Will Hawes 14:13 on 01 May 2005

Generated at 10:24 on 04 May 2005 by mariachi v0.52