Re: CDBI::mysql->column_type unusable because CDBI->column_type deprecated

[prev] [thread] [next] [Date index for 2004/11/19]

From: Tony Bowden
Subject: Re: CDBI::mysql->column_type unusable because CDBI->column_type deprecated
Date: 08:28 on 19 Nov 2004
On Thu, Nov 18, 2004 at 10:42:27PM -0800, Peter Speltz wrote:
> Ran into this problem trying to use column_type method.  CDBI->mysql method of
> that name does what i want but i can't use it because CDBI->column_type used to
> be CDBI->has_a and is now  deprected.  

I don't understand the problem.

Just because a method is deprecated in the parent, that doesn't mean
that a subclass can't redefine it to do what it wants...

> Is it time to undeprecate column_type and let the driver's have that method to
> do the right thing?

That would be worse. Unless you don't mean by undeprecate what I do...

Tony


Re: CDBI::mysql->column_type unusable because CDBI->column_type deprecated
Tony Bowden 08:28 on 19 Nov 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52