File: sqlite_mattn.go

package info (click to toggle)
soju 0.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,016 kB
  • sloc: sql: 243; sh: 55; makefile: 49; python: 32
file content (13 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
//go:build !moderncsqlite && !nosqlite

package database

import (
	_ "github.com/mattn/go-sqlite3"
)

var sqliteDriver = "sqlite3"

// See https://kerkour.com/sqlite-for-servers
// Keep in sync with modernc counterpart.
const sqliteOptions = "_foreign_keys=true&_busy_timeout=5000&_journal_mode=WAL&_synchronous=NORMAL&_txlock=immediate"