|
From: Oleg B. <ph...@ma...> - 2005-06-03 10:23:00
|
On Fri, Jun 03, 2005 at 08:01:44PM +1000, ab...@ne... wrote:
> conn = "sqlite://persontest3.db?debug=" # FAILS
> instead of
> conn = "sqlite:/persontest3.db?debug=" # WORKS :-)
>
> So I'm not sure if that's a typo in the documentation, or the // is meant to be
> like a http address (but you can't use sqlite over http anyway?).
Not http, not even an URL. It is URI. Just a syntax that's paresed by
SQLObject, not any network engine.
> Furthermore, my understanding of connection strings is so bad that I can't seem
> to specify a windows path name to a sqlite file either e.g.
> conn = 'sqlite:/"C:/person test/persontest3.db"'
> conn = 'sqlite:/C:/person test/persontest3.db'
> conn = 'sqlite:/C:\\person test\\persontest3.db'
> conn = 'sqlite://C:\\person test\\persontest3.db'
> etc.
> all fail.
conn = 'sqlite://C|/person test/persontest3.db'
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|