Module obnam::db

source · []
Expand description

A database abstraction around SQLite for Obnam.

This abstraction provided the bare minimum that Obnam needs, while trying to be as performant as possible, especially for inserting rows. Only data types needed by Obnam are supported.

Note that this abstraction is entirely synchronous. This is for simplicity, as SQLite only allows one write at a time.

Structs

A database.

An iterator over rows from a query.

Describe a table in a row.

Enums

A column in a table description.

Possible errors from a database.

Like a Value, but owns the data.

A value in a named column.

Type Definitions

Type of plain integers that can be stored.