Xo is experimental. The source is now public on GitHub, or try Xo in your browser.
Menu · sqlite

Docs

std/sqlite

On this page

Index

Types

Config

struct Config {
  path: Str
  uri: Bool
  keys: List[Str]
  busy_ms: Int
  pragmas: List[Str]
}

A parsed DSN (see the module comment).

Source: std/sqlite.xo:30

Functions

driver

fn driver(fs: Fs) -> sql.Driver[fs]

The driver, opening database files through fs; its Db’s operations perform fs.

Source: std/sqlite.xo:40

config

fn config(dsn: Str) -> Config ! sql.SqlErr

The DSN’s parts; Param for an unknown _ key or a bad value.

Source: std/sqlite.xo:43

version

fn version() -> Str uses fs

The SQLite library’s version, e.g. “3.54.1”.

Source: std/sqlite.xo:46

↑ index