1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix failing v check-md vlib/sqlite/README.md

This commit is contained in:
Delyan Angelov 2022-07-07 13:04:59 +03:00
parent 7da466e81b
commit 91acd0f380
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -26,11 +26,14 @@ library installed on your system.
# Performance Tips
When performing a large amount of database calls (i.e. INSERTS), significant performance increase can be obtained by controlling the synchronization and journal modes.
When performing a large amount of database calls (i.e. INSERTS), significant
performance increase can be obtained by controlling the synchronization and journal modes.
For instance,
For instance:
```v
db := sqlite.connect('foo.db') or {panic(err)}
import sqlite
db := sqlite.connect('foo.db') or { panic(err) }
db.synchronization_mode(sqlite.SyncMode.off)
db.journal_mode(sqlite.JournalMode.memory)
```
```