From eee9e06364f3d83fd9d7357bdbc94c7499b56231 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 5 Oct 2024 03:05:35 -0300 Subject: src/golite.go: Change driverName to "golite" and make it `const` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') 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: -- cgit v1.2.3