Does Web2Py support his? - it certainly looks very useful... http://martinfowler.com/eaaCatalog/singleTableInheritance.html
Examples of this in Rails: http://wiki.rubyonrails.org/rails/pages/singletableinheritance http://www.juixe.com/techknow/index.php/2006/06/03/rails-single-table-inheritance/ http://spattendesign.com/2007/12/31/fun-with-single-table-inheritance I do /some/ of this already following the T2 style of defining a base table type (T2 calls this 'trackable') & then extending this in the model with resource-specific fields. This gives me DRYness but doesn't mean that I can do a search of all sub-tables without a JOIN... Many thanks, Fran. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---