Hello,

I'm building a CMS-like webapp where I use inheritance a lot.

One feature that I would like to allow is that when an user add a new section (a new container), he would be able to select the default with_polymorphic() clause, order_by, objects per page when browsing the container, etc.

I wondered where is the "best" place to store those "meta" data (in the database itself ? in a separate table ? .. ?), and in which format (JSON ? serialized object ? ... ?) ?

I would like to avoid a seqscan of a lot of rows and any breakage when, for example, a mapped child class (polymorphic_identity) is removed, but was selected for a polymorphic loading in one or more containers.

I don't know if this is the best place to ask but ... let's try :-)

Thanks,
Julien

--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

<<attachment: jcigar.vcf>>

Reply via email to