in reply to Re^2: Creating a model of a bad database
in thread Creating a model of a bad database
Along these kinds of lines, the best we could offer at the moment is that you can make a ResultSource class for view just like you could for a table (if your database doesn't support real views, that can be hacked as well, by basically specifying the SQL that generates the view as the table name, IIRC), and then you could override the update and insert methods for this source and include your own custom code that breaks out the data and does the insert/update to the underlying tables (either using DBIC abstractions of those tables, or raw sql via a dbh accessor).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Creating a model of a bad database
by perrin (Chancellor) on Dec 12, 2006 at 19:25 UTC | |
by Ovid (Cardinal) on Dec 13, 2006 at 09:21 UTC | |
|
Re^4: Creating a model of a bad database
by sgt (Deacon) on Dec 13, 2006 at 14:15 UTC |