On Mar 20, 2007, at 3:27 PM, John Siracusa wrote:

> Well then code it up and send it to me :)

ok.  its on my list right after the debugger module :)

> That level abstraction is
> not strictly necessary to support the proposed feature (columns that
> are not part of the PK but that have default values pulled from
> sequences), but it might be useful nonetheless.

right -- but if you're handling a large db with a lot of inter- 
related tables, being able to access sequences directly is really  
helpful.


>> getting that to work with all dbs might be a pain though.
>
> Not really.  If you decide to do it, you'd delegate all db-specific
> functionality to the "db" (Rose::DB) object.  As mentioned earlier in
> this thread, there's already a vaguely cross-db-compatible
> next_value_in_sequence() method in Rose::DB.  You'd just have to add
> more such methods.  The Rose::DB::Sequence class wouldn't have any
> db-specific code in it at all.

well yes, but there would need to be a lot of conditionals in that  
module / the db specific drivers to implement the operations.  i'll  
still have to write them somewhere.


// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
| SyndiClick.com
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|      FindMeOn.com - The cure for Multiple Web Personality Disorder
|      Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|      RoadSound.com - Tools For Bands, Stuff For Fans
|      Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to