[Dbix-class] Automatic quoting

fREW Schmidt frioux at gmail.com
Tue Jun 8 15:18:24 GMT 2010


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, userna=
me
>> 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.


-- =

fREW Schmidt
http://blog.afoolishmanifesto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20100608/ebf=
22fbc/attachment.htm


More information about the DBIx-Class mailing list