On Thu, Nov 27, 2008 at 10:09 PM, Dan Pascu <[EMAIL PROTECTED]> wrote: > On Thursday 27 November 2008, Oleg Broytmann wrote: >> > Or maybe some parameter to the dburi (like backend) would be simpler >> > and cleaner. >> >> Either sqlite2://, sqlite3:// - or sqlite://...?backend=sqlite2. > > My preference would be towards the last example using a backend parameter
Me too. Using 'sqlite2' as name is IMO not correct. 'pysqlite2' would be more appropriate but this makes it look weird at the URI beginning. Appending ?backend=sqlite3 or ?backend=pysqlite2 looks nice. > Also the backend arg should be just a preference, which should override > the default choice of the most recent backend as is done now. Currently the precedence is 1. sqlite3 2. pysqlite2 3. sqlite Since sqlite3 is bundled with Python, it get's outdated by more recent versions of pysqlite2 quite quickly. So if it is desired to have as default the most recent version, the default order if no parameter is specified should be 1. pysqlite2 2. sqlite3 3. sqlite > I still > think that having the default to choose the most recent backend available > is still a good strategy, but being able to manually override it using > the backend parameter, would give full flexibility to everyone. Agreed. Kind regards, Markus ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss