mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
Update README.md
This commit is contained in:
parent
6a73d4f64d
commit
caebc0a595
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ automatically when the connection is created by using the query parameters:
|
||||||
```crystal
|
```crystal
|
||||||
require "sqlite3"
|
require "sqlite3"
|
||||||
|
|
||||||
DB.open "sqlite3://./data.db?_journal_mode=wal&_synchronous=normal" do |db|
|
DB.open "sqlite3://./data.db?journal_mode=wal&synchronous=normal" do |db|
|
||||||
# this database now uses WAL journal and normal synchronous mode
|
# this database now uses WAL journal and normal synchronous mode
|
||||||
# (defaults were `delete` and `full`, respectively)
|
# (defaults were `delete` and `full`, respectively)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue