[Nitro] Create models from existing database?
bryan.a.soto at gmail.com
Wed Feb 22 16:30:53 EST 2006
On 2/22/06, S P Arif Sahari Wibowo <arifsaha at yahoo.com> wrote:
> Definitely can. Just need a SQL DDL parser, spitting Ruby codes
> as they go along. It won't be as difficult as the database
> interface since the parser doesn't have to care whether certain
> type or option is applicable for certain database engine.
> Any suggestion where to start (any language parser in Ruby)? If
> not I probably grab perl SQL parser for that.
I don't know if you'd need to go that far. Probably just something like DBI
where you can iterate over the column info would suffice.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nitro-general