We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ed900a commit ded1ba6Copy full SHA for ded1ba6
README.md
@@ -68,6 +68,15 @@ FAQ
68
69
Yes for readonly. But, No for writable. See #50, #51, #209.
70
71
+* Why is it racy if I use a `sql.Open("sqlite", ":memory:")` database?
72
+
73
+ Each connection to :memory: opens a brand new in-memory sql database, so if
74
+ the stdlib's sql engine happens to open another connection and you've only
75
+ specified ":memory:", that connection will see a brand new database. A
76
+ workaround is to use "file::memory:?mode=memory&cache=shared". Every
77
+ connection to this string will point to the same in-memory database. See
78
+ #204 for more info.
79
80
License
81
-------
82
0 commit comments