SQLiteMetadata#

class SQLiteMetadata(con)[source]#

Metadata storage for an SQLiteStore.

Parameters:

con (Connection) –

connection#

A reference to where the data is stored. May be a string ( e.g. “:memory:” or “./data.db”), a pathlib Path, or a file handle.

Type:

Union[str, Path, IO]

path#

The path to the annotation store data. This will be “:memory:” if the annotation store is in-memory. This is derived from connection and normalised to be a pathlib Path object.

Type:

Path

con#

The sqlite3 database connection.

Type:

sqlite3.Connection

Methods