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
>
>
--