forked from mirror/go-sqlcipher
Update README: URL-encode connection options
This change could save users from having to dig into source code to see how connection options are parsed.
This commit is contained in:
parent
b3511bfdd7
commit
0109106b87
|
@ -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