[Nitro] [OG] RFC uri structure

Mark Van De Vyver mvyver at gmail.com
Fri Nov 2 15:26:11 EDT 2007


Hi Devs,
The Sequel/Datasets thread was ominously silent - nonetheless pushing ahead.

If you were able to start Og in the following way:
Og(uri)

What would be the preferred uri format:
a) "dbi-<vendor>://user:pass at localhost:9876/dbname#<vendor>driveroptions"
b) "dbi:<vendor>://user:pass at localhost:9876/dbname#<vendor>driveroptions"
c) both
d) neither (please tell/suggest)

Some notes:
- "DBI" and <vendor> would be case insensitive.
- Not all arguments are 'required'.  The following would work (assuming (a)),
"DBI-mysql:///testdb"
and even
"dbi:///testdb"
In that missing arguments would employ the defaults as specific by the
settings in og.rb.

Regards
Mark


More information about the Nitro-general mailing list