Skip to content

Package

SQLiteNIO

🪶 Non-blocking, event-driven Swift client for SQLite built on SwiftNIO.

Using SQLiteNIO

Use standard SwiftPM syntax to include SQLiteNIO as a dependency in your Package.swift file:

dependencies: [
    .package(url: "https://github.com/vapor/sqlite-nio.git", from: "1.0.0")
]

Supported Platforms

SQLiteNIO supports all platforms on which NIO itself works. At the time of this writing, these include:

  • Ubuntu 20.04+

  • macOS 10.15+

  • iOS 13+

  • tvOS 13+ and watchOS 7+ (experimental)

Topics

Classes

  • SQLiteConnection
    Represents a single open connection to an SQLite database, either on disk or in memory.
  • SQLiteCustomFunction
    An SQL function or aggregate.
  • SQLiteHookToken
    Returned by every add…Observer and set…Validator call, whether sync or async, of any type. Call cancel() to unregister its associated callback.

Protocols

Structures

Enumerations

  • SQLiteData
    Encapsulates a single data item provided by or to SQLite.
  • SQLiteDataType
    Supported SQLite column data types when defining schemas.

Extended Modules