[PonyORM-list] Inheritance

Jake Austwick jake.austwick at gmail.com
Tue Sep 23 00:28:54 UTC 2014


When you inherit one model from another within Pony, it uses the method of just having one table and storing the class type in the `class type` column. Would it not be sensible for this column to automatically be indexed? It's clearly going to be used in queries to separate out the different types of classes, otherwise inheritance wouldn't have been used in the first place. 

Thoughts? 

Thanks,
------------------
Jake
http://jakeaustwick.me/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ponyorm-list/attachments/20140923/cbc7e6e0/attachment.html>


More information about the ponyorm-list mailing list