SQLite

21.1.4

SQLite.Database is a simple Swift wrapper around SQLite
shareup/sqlite

What's New

v21.1.4

2024-02-09T00:23:56Z
  • Use file coordinators to safely access the database when calling truncate() and close() in order to, hopefully, put an end to the flaky Xcode Cloud test failures I've been seeing since moving to IMMEDIATE transactions.

SQLite

Swift License Build

Introduction

SQLite is a simple wrapper around GRDB.

This library started its life as a simple Swift wrapper around SQLite focused on allowing clients to subscribe to specific SQL queries and receive updates via Combine publishers whenever the query results changed. As time went on, though, the maintainer of this library focused his attention elsewhere. Meanwhile, GRDB continued to improve. Starting in August 2023, the maintainer of this library decided to replace the majority of its internals with GRDB, while keeping most of the external API and behavior of SQLite consistent.

Installation

Swift Package Manager

To use SQLite with the Swift Package Manager, add a dependency to your Package.swift file:

let package = Package(
  dependencies: [
    .package(
      url: "https://github.com/shareup/sqlite.git",
      from: "21.0.0"
    )
  ]
)

License

The license for SQLite is the standard MIT licence. You can find it in the LICENSE file.

GRDB License

The license for GRDB is the standard MIT license. You can find it here.

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Sat Mar 16 2024 20:48:44 GMT-0900 (Hawaii-Aleutian Daylight Time)