On Tue, Sep 30, 2003 at 01:06:56PM -0400, Thomas A. Lowery wrote: > Ron, > Are you looking for something that does this for you? > > Take a look at DBIx::AnyDBD. IIRC, DBI was scheduled to merge > the DBIx::AnyDBD functionality to allow easier subclasses.
Already has (several releases ago), just hasn't been documented. Volunteers welcome. Also take a look beyond DBIx::* at things like http://search.cpan.org/author/DUNCAND/Rosetta-0.18/lib/Rosetta.pm Tim. > Tom > > On Tue, Sep 30, 2003 at 08:15:26PM +1000, Ron Savage wrote: > > Hi Folks > > > > I've been going thru the DBIx::* modules looking for one which puts a > > vendor-independent interface on things like primary keys in create table > > statements. > > In Postgres: create table(id integer unique, constraint t_index primary key(id) ) > > In MySQL: create table(id int auto_increment not null primary key) > > > > Any ideas? > > -- > > Cheers > > Ron Savage, [EMAIL PROTECTED] on 30/09/2003 > > http://savage.net.au/index.html
