On 5/10/06 3:31 AM, Uwe Voelker wrote:
> from the documentation about inheritance:
> 
>   # Change the "start" column into a datetime column.
>   __PACKAGE__->meta->delete_column('start');
>   __PACKAGE__->meta->add_column(start => { type => 'datetime' });
> 
> Why not add a method change_column() (and change_columns()) which
> combines the two methods?

"Change" sounds like it alters the existing column in-place.  How about
swap_column() or exchange_column() instead?  I think I like "exchange" best.

-John




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to