[Dbix-class] single table inheritence
Richard Jolly
Richard.Jolly at bbc.co.uk
Tue Oct 18 12:21:39 CEST 2005
Hi,
I need to set up single table inheritence, where row objects are
reblessed into a subclass based on the contents of column.
I think, in Class::DBI terms, I'd do this with a select trigger to
rebless the objects.
I don't see a select trigger in DBIx::Class, but it looks like the
constructor at DBIx::Class::Row::new would be the right place.
Thanks,
Richard
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
More information about the Dbix-class
mailing list