[Dbix-class] Advise

Matt S Trout dbix-class at trout.me.uk
Mon Jul 24 20:50:25 CEST 2006


Duncan J Ferguson wrote:
> Its an oracle database which I have no control over.  I may be able to
> get some views created for me (if I speak nicely to our DBA's), but
> doesnt that still leave the problem of the primary keys?  Can you have
> primary keys on views like that?

How about just building a set of classes all with the same ->table but 
different subsets of the columns? source name != table name, specifically to 
avoid tying you down in situations like this.

(oh, and please start a fresh thread next time :)

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Dbix-class mailing list