Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Identifier quoting

propel
Discussion topic

Back to topic list

Identifier quoting

Reply

Author Cameron Brunner <cameron dot brunner at gmail dot com>
Full name Cameron Brunner <cameron dot brunner at gmail dot com>
Date 2006-06-18 23:54:21 PDT
Message So here I sit with a week with a lot of free time and a project that
is using propel 2.0's codebase and I figured it was about time I tried
to work out how we plan to impliment identifier quoting. My original
thought was to create an object for each column that had the info in
it and a toString implimentation to do the escaping however I was
wondering if there were complaints to this or other suggestions in
general.

I imagine the peer class will gain an extra function that will handle
looking up the field names to allow for case sensitive fields and
return the object type required. The only problem with this is the
extra typing, ProductPeer::PRODUCT_ID vs
ProductPeer::fetchFi​eld('product_id'), this should allow us to use
this in custom sql tho using tostring on the field name... comments
anyone?


Cameron

« Previous message in topic | 1 of 15 | Next message in topic »

Messages

Show all messages in topic

Identifier quoting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-06-18 23:54:21 PDT
     Re: [propel-dev] Identifier quoting hlellelid Hans Lellelid 2006-06-19 04:21:19 PDT
         Re: [propel-dev] Identifier quoting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-06-19 06:31:53 PDT
             Re: [propel-dev] Identifier quoting hlellelid Hans Lellelid 2006-06-19 06:48:08 PDT
                 Re: [propel-dev] Identifier quoting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-06-19 19:54:14 PDT
                     Re: [propel-dev] Identifier quoting hlellelid Hans Lellelid 2006-06-20 05:39:58 PDT
                         Re: [propel-dev] Identifier quoting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-07-01 06:14:03 PDT
                             Re: [propel-dev] Identifier quoting hans <hans at mail dot audiens dot net> hans <hans at mail dot audiens dot net> 2006-07-01 17:36:39 PDT
                     Re: [propel-dev] Identifier quoting karn kallio <kkallio at micorp dot com dot ve> karn kallio <kkallio at micorp dot com dot ve> 2006-06-20 05:55:53 PDT
                         Re: [propel-dev] Identifier quoting hlellelid Hans Lellelid 2006-06-20 05:58:35 PDT
     Re: [propel-dev] Identifier quoting Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-06-19 06:09:33 PDT
         Re: [propel-dev] Identifier quoting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-06-19 06:26:20 PDT
             Re: [propel-dev] Identifier quoting Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-06-19 06:35:25 PDT
         Re: [propel-dev] Identifier quoting hlellelid Hans Lellelid 2006-06-19 06:39:30 PDT
             Re: [propel-dev] Identifier quoting Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-06-19 19:56:30 PDT
Messages per page: