Skip to content

Protocol

SQLiteDatabase

A protocol describing the minimum requirements for an object allowing access to a generic SQLite database.
protocol SQLiteDatabase : Sendable

Overview

This protocol is intended to assist with connection pooling and other “smells like a simple database but isn’t” use cases. In retrospect, it has become clear that it was poorly designed. Users and implementations alike should try to use SQLiteConnection directly whenever possible.

Topics

Instance Properties

  • eventLoop
    The event loop on which operations on the connection execute.
  • logger
    The logger used by the connection.

Instance Methods

Relationships

Inherits From

  • Swift.Sendable
  • Swift.SendableMetatype

Conforming Types