diff options
author | EuAndreh <eu@euandre.org> | 2024-10-05 03:05:35 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-10-05 03:41:03 -0300 |
commit | eee9e06364f3d83fd9d7357bdbc94c7499b56231 (patch) | |
tree | a31e334b8682f420b5fbd730b0f4129aae1584d9 /README.md | |
parent | Makefile: run "fuzz" in "check-integration" target (for 1 second) (diff) | |
download | golite-eee9e06364f3d83fd9d7357bdbc94c7499b56231.tar.gz golite-eee9e06364f3d83fd9d7357bdbc94c7499b56231.tar.xz |
src/golite.go: Change driverName to "golite" and make it `const`
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -506,7 +506,7 @@ For an example, see [dinedal/go-sqlite3-extension-functions](https://github.com/ - Why I'm getting `no such table` error? - Why is it racy if I use a `sql.Open("sqlite3", ":memory:")` database? + Why is it racy if I use a `sql.Open("golite", ":memory:")` database? Each connection to `":memory:"` opens a brand new in-memory sql database, so if the stdlib's sql engine happens to open another connection and you've only @@ -545,7 +545,7 @@ For an example, see [dinedal/go-sqlite3-extension-functions](https://github.com/ Example: ```go - db, err := sql.Open("sqlite3", "file:locked.sqlite?cache=shared") + db, err := sql.Open("golite", "file:locked.sqlite?cache=shared") ``` Next, please set the database connections of the SQL package to 1: |