Re: searching on normalised data

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

From: William Ross
Subject: Re: searching on normalised data
Date: 09:20 on 27 Apr 2005
On 26 Apr 2005, at 16:38, Simon Wistow wrote:

> I have a class which does
>
> sub normalize_column_values {
> 	my ($self, $vals) = @_;
> 	$vals->{keyword} = lc($vals->{keyword});
> }
>
> which works fine and dandy. However what can I do so that I lower case
> any keyword arguments to find_or_create, search(_like?) and retrieve?

override _deflated_column?

(Both retrieve and find_or_create call search, and search calls 
_deflated_column on each parameter to flatten any objects that have 
been passed to it)

best

will

searching on normalised data
Simon Wistow 15:38 on 26 Apr 2005

Re: searching on normalised data
William Ross 09:20 on 27 Apr 2005

Re: searching on normalised data
Simon Wistow 09:27 on 27 Apr 2005

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