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:
parent
7da466e81b
commit
91acd0f380
@ -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)
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user