Not the reply I wanted, but as always, I appreciate the prompt reply.
 Certainly something I can work around.

-Jim


On Thu, Nov 8, 2012 at 9:51 AM, Massimo Di Pierro <
[email protected]> wrote:

> This is not supported at this time.
>
>
> On Thursday, 8 November 2012 09:39:24 UTC-6, Jim S wrote:
>>
>> Hi - I'm wondering if I can specify a table name in db.define_table that
>> is different than the name that web2py will then use to refer to it.
>>  Example:
>>
>> case = db.define_table('case', Field(field1...))
>>
>> Using MySQL, this doesn't work because case is a keyword.  I can however
>> do this:
>>
>> case = db.define_table('`case`', Field(field1...))
>>
>> ...using the ` mark around the table name.  This works, but then in
>> web2py I cannot refer to the case table using db.case.
>>
>> I'm looking for a parameter that will allow me to specify that the
>> database name for the table is different that they dal name for table.
>>
>> -Jim
>>
>> --
>
>
>
>

-- 



Reply via email to