From: Philippe N. <sw...@fr...> - 2004-04-30 12:58:08
|
On Fri, Apr 30, 2004 at 01:48:44PM +0200, Marek Kubica wrote: > On Wed, 28 Apr 2004 21:17:06 +0200, Philippe Normand wrote: > > If you're using sqlobject 0.6 (SVN), use the new URI system: > >=20 > > __connection__ =3D > > dbconnection.connectionForURI('sqlite:///tmp/database.db') > >=20 > > May it be helpfull to raise some Exception if somebody tries to use > > the old system ... > So the old system won't be supported? >=20 Well it could be supported. In my opinion the URI system is far more powerfull. For instance, if I=20 want to store db login/passwd, etc in a config file it is not so trivial=20 to handle Connection types. URIs can be easily stored in config files,=20 all the informations (db type, login, passwd, db name) reside in a simple= =20 string. --=20 Philippe Normand |