aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-05 03:05:35 -0300
committerEuAndreh <eu@euandre.org>2024-10-05 03:41:03 -0300
commiteee9e06364f3d83fd9d7357bdbc94c7499b56231 (patch)
treea31e334b8682f420b5fbd730b0f4129aae1584d9 /README.md
parentMakefile: run "fuzz" in "check-integration" target (for 1 second) (diff)
downloadgolite-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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1804a89..5209ee7 100644
--- a/README.md
+++ b/README.md
@@ -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: