Re: how to switch a view easily?

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

From: Tony Bowden
Subject: Re: how to switch a view easily?
Date: 08:26 on 20 Apr 2005
On Tue, Apr 19, 2005 at 10:11:57PM -0700, Randal L. Schwartz wrote:
> Has anyone tried overriding transform_sql?  Am I crazy?

Yes. No.

Class::DBI is already overriding the default transform_sql from
Ima::DBI.

Overriding it in your own application is entirely sensible.

Generally I override it to create my own SQL extensions. When I need to
create different 'views', as you're suggesting, I tend to just override
the SearchSQL, but overriding transform_sql could also work if you need
to operate at a wider level than that.

Tony

(message missing)

how to switch a view easily?
merlyn (Randal L. Schwartz) 04:21 on 20 Apr 2005

Re: how to switch a view easily?
merlyn (Randal L. Schwartz) 05:11 on 20 Apr 2005

Re: how to switch a view easily?
Tony Bowden 08:26 on 20 Apr 2005

Re: how to switch a view easily?
Dana Hudes 12:07 on 20 Apr 2005

Re: how to switch a view easily?
Mark Addison 13:12 on 20 Apr 2005

Re: how to switch a view easily?
merlyn (Randal L. Schwartz) 13:55 on 20 Apr 2005

Solved (thank you postgresql!) was Re: how to switch a view easily?
merlyn (Randal L. Schwartz) 16:30 on 20 Apr 2005

multi-column PK and has_many
Barry Moore 18:21 on 20 Apr 2005

Re: multi-column PK and has_many
Perrin Harkins 18:41 on 20 Apr 2005

Re: Solved (thank you postgresql!) was Re: how to switch a view easily?
merlyn (Randal L. Schwartz) 17:10 on 20 Apr 2005

Generated at 09:29 on 27 Apr 2005 by mariachi v0.52