dstddb
dstddb copied to clipboard
Can't create SQLLite DB with absolute path
createDatabase("file:///C://code//sqlLiteDBFullName.db").query("CREATE TABLE IF NOT EXISTS ddbct1 (ts text)");
Running .\dbsync.exe sqlite opening file: C://code//sqlLiteDBFullName.db 2016-04-06T13:32:04.449:C:\Users\bubenkov_di\AppData\Roaming\dub\packages\dstddb -0.0.3\dstddb\src\std\database\sqlite\database.d:query:268 sqlite3_step: status: 101
And no result on C://code// folder.
Also why do I need to write 3 slashes? like: file:///
?
See other threads for an explanation on the query. As far as the slashes: the first two are delimiters for the URI syntax. The third would indicate the start of an absolute path. I'm not entirely sure what the path should be for a windows path yet.
Windows also support / Afaik it work same as \
среда, 20 апреля 2016 г. пользователь Erik Smith написал:
See other threads for an explanation on the query. As far as the slashes: the first two are delimiters for the URI syntax. The third would indicate the start of an absolute path. I'm not entirely sure what the path should be for a windows path yet.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/cruisercoder/dstddb/issues/6#issuecomment-212250888