[Dbix-class] Automatic quoting

Paul Makepeace paulm at paulm.com
Tue Jun 8 21:21:50 GMT 2010


On Tue, Jun 8, 2010 at 08:18, fREW Schmidt <frioux at gmail.com> wrote:
> On Tue, Jun 8, 2010 at 9:01 AM, Ronald J Kimball <rkimball at pangeamedia.com>
> wrote:
>>
>>
>> On Mon, Jun 7, 2010 at 6:04 PM, fREW Schmidt <frioux at gmail.com> wrote:
>>>
>>> On Mon, Jun 7, 2010 at 12:04 AM, Toby Corkindale
>>> <toby.corkindale at strategicdata.com.au> wrote:
>>>>
>>>> Only speaking on behalf of myself, but I see:
>>>>
>>>> 1) You shouldn't be making db tables or columns based on reserved words
>>>> anyway, as sooner or later someone will want to log in manually to do
>>>> something in SQL, and be cursing you.
>>>
>>> I disagree with the former.  What if you have a column like, say,
>>> username or login?  That should be totally allowed.
>>
>> What database has "username" or "login" as reserved words?
>>
>> Ronald
>
> Sorry, couldn't remember the details, what I was thinking of was "user"
> which is a reserved word in T-SQL.

We have a table from a legacy app called `release` so these things do happen.

P



More information about the DBIx-Class mailing list