Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create SQLLite DB with absolute path #6

Open
bubnenkoff opened this issue Apr 6, 2016 · 2 comments
Open

Can't create SQLLite DB with absolute path #6

bubnenkoff opened this issue Apr 6, 2016 · 2 comments

Comments

@bubnenkoff
Copy link

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:/// ?

@cruisercoder
Copy link
Owner

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.

@bubnenkoff
Copy link
Author

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
#6 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants