[CDBI] Working with tables without primary keys?

Matt S Trout dbix-class at trout.me.uk
Tue Nov 8 00:07:46 GMT 2005


On Mon, Nov 07, 2005 at 06:51:13PM -0500, Perrin Harkins wrote:
> On Mon, 2005-11-07 at 23:44 +0000, Matt S Trout wrote:
> > I *do* know that DBIx::Class does handle this; just build a custom base class
> > that doesn't include the PK component and you should get at least some
> > functionality
> 
> What possible functionality can an O/R mapper provide when it has no way
> to individually address rows?  Something through class methods?

Not much, but it's still better than "doesn't work at all" - and of course
an actual user for that functionality would presumably be able to guide me
and the rest of the dbic team on how to improve it.

-- 
     Matt S Trout       Specialists in Perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
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 ClassDBI mailing list