This is true. But i need to readily extract all comments for a thread.

i.e.
thread = model.Threads.select(id)
comments = thread.comments
then sort them by date (or comment id since that is incremental too)

Also:
1. In future i can easily extend the thread table to add thred only
specific information.
2. I can easily get a list of all threads.

else i would have to add a column 'first_comment_id' that would reffer
to each starting comment. But what would be the advantage? Also this
would duplicate the thread Subject field (even if only empty strings
were used).


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

Reply via email to