awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
groue avatar

groue/GRDB.swift

0
View on GitHub↗
8,209 stars·849 forks·Swift·mit·39 views

GRDB.swift

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 operational capabilities, including versioned schema migrations, record upserts, and the storage of complex types as JSON. It also includes utilities for database backups, memory reclamation, and the execution of raw SQL with bound arguments.

Features

  • Database Wrappers - Provides a comprehensive SQLite wrapper handling connection management, migrations, and encryption for Apple platforms.
  • Local Database Persistence - Provides a comprehensive SQLite toolkit for local data persistence on Apple platforms.
  • SQLite Databases - Provides a comprehensive toolkit for managing local data storage using the SQLite engine.
  • Database Schema Migrations - Automates the application of versioned schema migrations to keep the database compatible with the application model.
  • Row Mapping Logic - Uses a protocol-based mapping system to convert database rows into structured Swift objects.
  • Object-Relational Mappers - Provides a full ORM for Swift that maps database rows to structured objects with support for upserts.
  • Schema Migrations - Manages database versioning through a sequence of ordered migration scripts to evolve the schema.
  • SQLite Integration - Offers a complete toolkit for direct querying and management of SQLite database files.
  • Type-Safe Data Abstractions - Implements type-safe abstractions for mapping database rows to Swift objects and handling complex types.
  • Type-Safe Query Builders - Provides a type-safe query builder to construct SQL statements using structured Swift expressions.
  • SQLite Wrappers - Wraps the low-level SQLite C API in a Swift-native layer for safer connection and statement management.
  • Database-to-UI Synchronization - Observes database changes to automatically synchronize the application state and user interface in real time.
  • Database - Features a value-observation system that tracks database changes to automatically refresh the user interface.
  • Raw SQL Execution - Enables the execution of raw SQL statements using bound arguments to prevent security vulnerabilities.
  • JSON Serializers - Provides utilities to serialize complex Swift data structures into JSON strings for database storage.
  • Data Retrieval - Provides mechanisms to retrieve data as raw records, single values, arrays, or cursors.
  • Data Upsert Operations - Provides record upsert capabilities to insert new data or update existing records during conflicts.
  • Reactive SQLite Libraries - Includes a reactive observation framework that tracks database changes to trigger automatic UI updates.
  • Connection Pooling - Implements a connection pooling system to coordinate read and write operations across multiple threads.
  • Hybrid Relational-JSON Storage - Allows storing complex data structures as JSON strings within traditional relational database columns.
  • Encrypted Database Managers - Secures stored data using passphrase-based encryption for password-protected database files.
  • UI State Synchronization - Automatically synchronizes user interface elements with underlying database changes via event-driven observations.
  • Database Change Notifications - Triggers notifications upon data modification to keep the application state synchronized with storage.
  • Database Drivers - Versatile toolkit for SQLite.
  • Database Libraries - Versatile SQLite toolkit for Swift.

Star history

Star history chart for groue/grdb.swiftStar history chart for groue/grdb.swift

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with GRDB.swift

These projects share indexed features with GRDB.swift. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • stephencelis/sqlite.swiftstephencelis avatar

    stephencelis/SQLite.swift

    10,167View on GitHub↗

    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 libra

    Swift
    View on GitHub↗10,167
  • simolus3/driftsimolus3 avatar

    simolus3/drift

    3,231View on GitHub↗

    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
    View on GitHub↗3,231
  • tencent/wcdbTencent avatar

    Tencent/wcdb

    11,502View on GitHub↗

    WCDB is a cross-platform storage layer and embedded database engine that serves as a framework for SQLite. It functions as an object relational mapper, linking application classes to database tables to enable data operations via objects rather than raw queries. The project is distinguished by an integrated encryption layer for securing data at rest and a full-text search engine that uses language-specific tokenizers for text lookups. It also features transparent field compression to reduce storage footprints and a connection-pooling model to coordinate simultaneous read and write operations a

    Candroiddatabaseios
    View on GitHub↗11,502
  • ccgus/fmdbccgus avatar

    ccgus/fmdb

    13,851View on GitHub↗

    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
    View on GitHub↗13,851
Compare all 30 related projects→

Frequently asked questions

What does groue/grdb.swift do?

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.

What are the main features of groue/grdb.swift?

The main features of groue/grdb.swift are: Database Wrappers, Local Database Persistence, SQLite Databases, Database Schema Migrations, Row Mapping Logic, Object-Relational Mappers, Schema Migrations, SQLite Integration.

Which projects share features with groue/grdb.swift?

Projects with overlapping indexed features include: stephencelis/sqlite.swift — SQLite.swift is a type-safe Swift wrapper and object-relational mapping layer that provides a bridge for interacting… simolus3/drift — Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database… tencent/wcdb — WCDB is a cross-platform storage layer and embedded database engine that serves as a framework for SQLite. It… ccgus/fmdb — fmdb is an object-oriented SQLite database library and persistence layer for native macOS and iOS environments. It… mikro-orm/mikro-orm — Mikro-ORM is a TypeScript-based object-relational mapping system that provides a unified persistence layer for Node.js… pawelsalawa/sqlitestudio — SQLiteStudio is an open-source graphical tool for browsing, editing, and managing SQLite database files. It combines a…