Re: [CDBI] Working with tables without primary keys?

[prev] [thread] [next] [Date index for 2005/11/07]

From: Matt S Trout
Subject: Re: [CDBI] Working with tables without primary keys?
Date: 23:44 on 07 Nov 2005
On Mon, Nov 07, 2005 at 05:24:15PM -0600, Eamon Daly wrote:
> Hi, all. I couldn't find anything in the Class::DBI CPAN
> pages or on the Wiki, so perhaps one of you can provide a
> pointer. What's the Right Way to work with tables lacking
> primary keys?

I don't believe Class::DBI can handle this, but I'm open to other list
members telling me I'm wrong.

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 - follow the link in my sig to get more info - and find the
mailing list so if you decide to try it we don't clutter up the cdbi list :)

        -- 
             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/ +

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

Re: [CDBI] Working with tables without primary keys?
Matt S Trout 23:44 on 07 Nov 2005

Re: [CDBI] Working with tables without primary keys?
Perrin Harkins 23:51 on 07 Nov 2005

Re: [CDBI] Working with tables without primary keys?
Perrin Harkins 17:08 on 08 Nov 2005

Re: [CDBI] Working with tables without primary keys?
Perrin Harkins 23:49 on 07 Nov 2005

Re: [CDBI] Working with tables without primary keys?
Left to My Own Devices 02:49 on 08 Nov 2005

RE: [CDBI] Working with tables without primary keys?
Mark Schoonover 03:55 on 08 Nov 2005

RE: [CDBI] Working with tables without primary keys?
Left to My Own Devices 03:12 on 08 Nov 2005

RE: [CDBI] Working with tables without primary keys?
Mark Schoonover 13:16 on 08 Nov 2005

Generated at 20:55 on 09 Nov 2005 by mariachi v0.52