Jorge Vargas wrote:
> This is a recurrent question/problem in the mailing list.
>
> People went starting to work on identity will probably name their class
> Group.
> People that are probably testing TG will want to make a shopping cart or
> something similar and will probably come up with the Order class
This is not user error, this is a bug in SQLObject. Field names should be properly quoted (backticks
in MySQL).
I will not say it's a bug, it's more a design thing, if they didn't do it for any reason (performance may be one) we need to investigate. For now it's a user error, if it's get change in SQLObject we'll come back here and post this is not an issue anymore :)
I'm not aware of any SQL database which imposes restrictions on table and column names.
The fact they allow non quoted names means a restriction for keywords.
Table and column names should always be quoted in SQL on general principal.
Not really, it's a "good practice" but you know how those are
I will file a bug.
I was going to do that but the tracker was down so I posted to the mailing list.
-Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---
- [TurboGears] [Docs] do NOT use Group or Order as SQLObjec... Jorge Vargas
- [TurboGears] Re: do NOT use Group or Order as SQLObj... ajones
- [TurboGears] Re: [Docs] do NOT use Group or Order as... Nicky Ayoub
- [TurboGears] Re: [Docs] do NOT use Group or Orde... Jorge Godoy
- [TurboGears] Re: [Docs] do NOT use Group or ... Nicky Ayoub
- [TurboGears] Re: do NOT use Group or Order as SQLObj... fumanchu
- [TurboGears] Re: [Docs] do NOT use Group or Order as... Jorge Vargas
- [TurboGears] Re: [Docs] do NOT use Group or Orde... Jorge Vargas
- [TurboGears] Re: [Docs] do NOT use Group or Order as... Robin Haswell
- [TurboGears] Re: [Docs] do NOT use Group or Orde... Jorge Vargas
- [TurboGears] Re: [Docs] do NOT use Group or ... Robin Haswell
- [TurboGears] Re: [Docs] do NOT use Group... Jorge Godoy
- [TurboGears] Re: [Docs] do NOT use ... Robin Haswell
- [TurboGears] Re: [Docs] do NOT ... Jorge Godoy
- [TurboGears] Re: [Docs] do ... Roger Demetrescu
- [TurboGears] Re: [Docs] do ... fumanchu
- [TurboGears] Re: [Docs] do ... Jorge Godoy
- [TurboGears] Re: [Docs] do ... Robin Haswell
- [TurboGears] Re: [Docs] do ... Jorge Godoy
- [TurboGears] Re: [Docs] do ... Jorge Vargas

