Re: count_search_where deleting its parameters ?

[prev] [thread] [next] [Date index for 2005/01/08]

From: Gabor Szabo
Subject: Re: count_search_where deleting its parameters ?
Date: 07:40 on 08 Jan 2005
On Sat, 7 Jan 2005, Randal L. Schwartz wrote:

> I solved this by using a hash with funny keys:
>
> where({
>  age => {'>=', 20},
>  ' age' => {'<=', 80},
>  city => 'Jerusalem',
> });
>
> Yeah, it's hacky, but it works fine.

thanks, that's a nice hack.



In the meantime I installed Tk and Devel::ptkdb and it was so much easier
to track down the problem to the

     _recurse_where         method of SQL::Abstract 1.17

That's the one eating its parameters.

Gabor

count_search_where deleting its parameters ?
Gabor Szabo 07:03 on 08 Jan 2005

Re: count_search_where deleting its parameters ?
merlyn (Randal L. Schwartz) 07:27 on 08 Jan 2005

Re: count_search_where deleting its parameters ?
Gabor Szabo 07:40 on 08 Jan 2005

Generated at 12:15 on 16 Jan 2005 by mariachi v0.52