awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
stephencelis avatar

stephencelis/SQLite.swift

0
View on GitHub↗
10,167 Stars·1,618 Forks·Swift·MIT·6 Aufrufe

SQLite.swift

SQLite.swift is a type-safe Swift wrapper and object-relational mapping layer that provides a bridge for interacting with SQLite databases. It functions as a database driver that allows for embedded database management and local data persistence within Swift applications.

The project distinguishes itself through a type-safe expression builder that verifies SQL statement syntax and intent at compile time. It includes specialized support for high-performance text matching via full-text search integration and provides mechanisms for securing sensitive data through database encryption.

The library covers a broad range of capabilities including versioned schema migration, atomic transaction management, and a chainable query interface for filtering and pagination. It also supports advanced SQL constructs such as recursive queries, window functions, and the registration of custom SQL functions.

Additional operational controls include database journaling configuration for performance optimization and the retrieval of extended error codes for debugging.

Features

  • SQLite Databases - Provides a serverless, transactional SQL database engine integrated directly within Swift applications.
  • Type-Safe Query Builders - Provides a type-safe expression builder that verifies SQL statement syntax and intent at compile time.
  • Type-Safe Schema Definitions - Enables the creation of tables and indexes using strongly typed column expressions and constraints.
  • Data Type Mappings - Maps database values to high-level Swift types like UUIDs and URLs during data retrieval.
  • Database Migrations - Facilitates updating the database structure to new versions without losing existing user data.
  • Database Query Execution - Runs commands to create, insert, update, and delete records using expression builders or raw SQL.
  • Database Schema Managers - Offers a declarative toolset for defining and versioning database structures using type-safe expressions.
  • Fluent Query Builders - Implements a chainable, functional API for constructing complex SQL queries programmatically.
  • Local Data Persistence - Enables saving application state and indexed data to local disk for persistence across restarts.
  • Schema Migrations - Provides tools for managing and automating the evolution of the database structure over time.
  • SQLite Drivers - Serves as a low-level Swift bridge for executing raw SQL and managing transactions.
  • Type Mapping Converters - Provides utilities for translating between complex Swift objects and SQLite-compatible primitive values.
  • Type-Safe Data Abstractions - Adds new records or updates existing ones upon conflict using type-safe setters.
  • Type-Safe Object-Relational Mappers - Maps SQLite database rows and columns to Swift types at compile time for safe data access.
  • C-API Wrappers - Provides a high-level Swift interface that encapsulates the low-level SQLite3 C library functions.
  • SQLite Wrappers - Provides a type-safe Swift interface and expression builder to simplify interaction with SQLite.
  • Database Column Bindings - Maps database result columns to Swift types using a protocol-based system for safe data retrieval.
  • SQL Query Validators - Verifies SQL statement syntax and intent at compile time to prevent runtime database errors.
  • Common Table Expressions - Supports building hierarchical data lookups using common table expressions with recursive clauses.
  • Schema Versioning - Tracks and handles schema versions using internal pragmas to trigger conditional migrations.
  • Database Connection Managers - Manages connections to disk-based, in-memory, or temporary databases with integrated thread-safety.
  • Atomic Transactions - Groups multiple statements into atomic blocks that roll back changes if any operation fails.
  • Full Text Search - Integrates SQLite virtual tables to implement high-performance text searching and indexing.
  • Pagination - Provides chainable functions for selection, filtering, joining, sorting, and pagination of records.
  • Raw SQL Execution - Enables running arbitrary SQL strings for complex operations that bypass the type-safe expression layer.
  • Advanced SQL Construct Execution - Supports complex SQL constructs including window functions and common table expressions.
  • Record Updating - Provides a fluent builder interface for modifying existing data rows with conditional filtering.
  • SQL Aggregate Functions - Calculates scalar values such as counts, sums, and averages across filtered datasets.
  • Encrypted Database Managers - Secures sensitive local data by encrypting database files with a key during the connection process.
  • Serialized Access - Ensures thread-safe database access by routing all operations through a dedicated serial execution queue.
  • Database Drivers - Simple and safe wrapper for SQLite3.
  • Database Libraries - Type-safe Swift layer for SQLite3.
  • Database Management - Type-safe wrapper for SQLite3.

Star-Verlauf

Star-Verlauf für stephencelis/sqlite.swiftStar-Verlauf für stephencelis/sqlite.swift

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu SQLite.swift

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit SQLite.swift.
  • simolus3/driftAvatar von simolus3

    simolus3/drift

    3,231Auf GitHub ansehen↗

    Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database tables to classes and execute SQL queries with build-time validation. It functions as a type-safe query builder and a wrapper for SQLite and PostgreSQL, eliminating manual result set parsing by binding query outputs to native objects. The project distinguishes itself through a build-time code generation system that produces type-safe APIs and validates raw SQL statements against database versions before execution. It features reactive query streaming, which transforms SQL queries

    Dartdartdart-build-systemflutter
    Auf GitHub ansehen↗3,231
  • ccgus/fmdbAvatar von ccgus

    ccgus/fmdb

    13,851Auf GitHub ansehen↗

    fmdb is an object-oriented SQLite database library and persistence layer for native macOS and iOS environments. It provides an Objective-C wrapper that encapsulates the low-level C API, allowing applications to manage local relational data storage and embedded database connections through a high-level interface. The library focuses on thread-safe database access by synchronizing operations across multiple threads using serialized queues to prevent data corruption and race conditions. It includes specialized capabilities for secure local storage, such as database encryption and the management

    Objective-C
    Auf GitHub ansehen↗13,851
  • groue/grdb.swiftAvatar von groue

    groue/GRDB.swift

    8,209Auf GitHub ansehen↗

    GRDB.swift is a comprehensive SQLite toolkit and object-relational mapper for Swift. It provides a database wrapper that handles local data persistence, connection management, and encrypted file storage for Apple platforms. The library features a dedicated observation framework that tracks database changes to automatically synchronize the application state and user interface in real time. It distinguishes itself with a type-safe query builder and a protocol-based mapping system that converts database rows into structured Swift objects. The toolkit covers a broad range of administrative and o

    Swiftdatabasedatabase-observationgrdb
    Auf GitHub ansehen↗8,209
  • uptrace/bunAvatar von uptrace

    uptrace/bun

    4,867Auf GitHub ansehen↗

    Bun is a type-safe object relational mapper for Go that prioritizes SQL-first query construction and result mapping. It functions as a programmable SQL query builder, a database connection manager, and a tool for mapping database tables to Go structs. The project distinguishes itself through a multi-dialect SQL support system, allowing a single codebase to interact with different database engines via a consistent interface. It includes a built-in database observability tool for query interception, distributed tracing, and logging, as well as a schema migration tool for versioning structural c

    Godatabasegogolang
    Auf GitHub ansehen↗4,867
Alle 30 Alternativen zu SQLite.swift anzeigen→

Häufig gestellte Fragen

Was macht stephencelis/sqlite.swift?

SQLite.swift is a type-safe Swift wrapper and object-relational mapping layer that provides a bridge for interacting with SQLite databases. It functions as a database driver that allows for embedded database management and local data persistence within Swift applications.

Was sind die Hauptfunktionen von stephencelis/sqlite.swift?

Die Hauptfunktionen von stephencelis/sqlite.swift sind: SQLite Databases, Type-Safe Query Builders, Type-Safe Schema Definitions, Data Type Mappings, Database Migrations, Database Query Execution, Database Schema Managers, Fluent Query Builders.

Welche Open-Source-Alternativen gibt es zu stephencelis/sqlite.swift?

Open-Source-Alternativen zu stephencelis/sqlite.swift sind unter anderem: simolus3/drift — Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database… ccgus/fmdb — fmdb is an object-oriented SQLite database library and persistence layer for native macOS and iOS environments. It… groue/grdb.swift — GRDB.swift is a comprehensive SQLite toolkit and object-relational mapper for Swift. It provides a database wrapper… uptrace/bun — Bun is a type-safe object relational mapper for Go that prioritizes SQL-first query construction and result mapping.… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… dotnet/efcore — Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using…