Re: MySQL reserved words, redux

[prev] [thread] [next] [Date index for 2004/10/12]

From: Tony Bowden
Subject: Re: MySQL reserved words, redux
Date: 09:51 on 12 Oct 2004
On Mon, Oct 11, 2004 at 10:27:59PM -0400, Jesse Sheidlower wrote:
> I see that Class::DBI::Oracle has a system for
> dealing with reserved words, but only as table names, using
> the table_alias method.

This could also be handled by subclassing transform_sql and changing
how __TABLE__ gets expanded.

Unfortunately there's no sensible way that I can think of for doing this
with column names ATM.

I suspect it's going to be at least a couple of versions before things
are factored out in a sensible enough manner to make this easy. There
may be a deep hack that I haven't thought off that would DWYW atm
though...

Tony

MySQL reserved words, redux
Jesse Sheidlower 02:27 on 12 Oct 2004

Re: MySQL reserved words, redux
Tony Bowden 09:51 on 12 Oct 2004

Re: MySQL reserved words, redux
Jesse Sheidlower 12:54 on 12 Oct 2004

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