[Nitro] OG and DBI: driver option name
George Moschovitis
george.moschovitis at gmail.com
Wed Aug 29 08:49:13 EDT 2007
>
> So is DBI the adapter, or is DBIMySQL to be the adapter. A problem
> with the later approach is there will be as many Dbi<vendor>Adapter
> classes as dbi supports.... 13 from a current count.
I would say that DBI is the adapter (a specialization of SQL store). However
this specific adapter
will be able to handle multiple rdbms.
suggestion to improve on using :dbi_driver?
>
I think :dbi_driver is ok as a parameter name:
Og.start(
:name => "myapp",
:adapter => :dbi,
:dbi_driver => :mysql,
:user => "root",
:evolve_schema => :full # true
)
-g.
--
http://www.me.gr
http://phidz.com
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070829/99e2dcec/attachment.html
More information about the Nitro-general
mailing list