forked from mirror/go-sqlite3
Merge pull request #616 from jung-kurt/patch-1
Update README: URL-encode connection options
This commit is contained in:
commit
c67b489f7e
|
@ -67,6 +67,7 @@ This is also known as a DSN string. (Data Source Name).
|
||||||
|
|
||||||
Options are append after the filename of the SQLite database.
|
Options are append after the filename of the SQLite database.
|
||||||
The database filename and options are seperated by an `?` (Question Mark).
|
The database filename and options are seperated by an `?` (Question Mark).
|
||||||
|
Options should be URL-encoded (see [url.QueryEscape](https://golang.org/pkg/net/url/#QueryEscape)).
|
||||||
|
|
||||||
This also applies when using an in-memory database instead of a file.
|
This also applies when using an in-memory database instead of a file.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue