awesome-repositories.com
Blog
awesome-repositories.com

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

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
fnc12 avatar

fnc12/sqlite_orm

0
View on GitHub↗
2,670 stars·344 forks·C++·AGPL-3.0·2 views

Sqlite Orm

This project is a header-only C++ library that provides an object-relational mapping layer for SQLite databases. It enables developers to map native class structures directly to database tables, facilitating type-safe data persistence and retrieval without the need for raw query strings.

The library distinguishes itself through the use of template-based metaprogramming, which allows for compile-time schema mapping and query construction. By utilizing a fluent interface, it translates method calls into optimized database statements, while its support for prepared statement caching minimizes parsing overhead for repetitive operations. The system also includes automated schema synchronization to ensure that database structures remain consistent with application object definitions.

Beyond core mapping, the library provides a comprehensive suite of database management capabilities, including support for relational joins, aggregate data calculations, and atomic transaction management. It accommodates both persistent storage and volatile, in-memory database configurations. A command-line utility is also provided to assist with project distribution by merging source and header files into consolidated outputs.

Features

  • Object-Relational Mapping - Maps C++ classes to SQLite tables for type-safe CRUD operations without raw SQL.
  • SQLite ORMs - Provides a header-only C++ object-relational mapping library specifically optimized for SQLite database persistence.
  • CRUD Operations - Provides type-safe interfaces for performing create, read, update, and delete operations on database records.
  • Object-Relational Mappers - Synchronizes database schema definitions with application class structures to enable type-safe persistence and fluent query construction.
  • Fluent Query Builders - Implements a fluent, chainable interface for constructing complex database queries at compile time.
  • Query Filters - Enables complex data retrieval with fluent filtering, grouping, and ordering without raw SQL.
  • Schema Synchronizers - Synchronizes database structures with native object definitions to maintain schema consistency.
  • Type-Safe Object-Relational Mappers - Binds database columns to native language members to ensure type-safe data persistence and retrieval.
  • Template Metaprogramming - Uses template metaprogramming to map native classes to database schemas at compile time.
  • Aggregate Calculations - Supports built-in aggregate calculations like sums, averages, and counts directly within database queries.
  • Transactional Updates - Ensures transactional integrity by grouping operations into atomic units for reliable state updates.
  • Prepared Statement Engines - Optimizes database performance by caching prepared statements to minimize parsing overhead.
  • Atomic Transactions - Provides atomic transaction management to ensure data consistency through commit and rollback mechanisms.
  • Database Query Joins - Supports relational joins by referencing mapped classes directly within database queries.
  • Database Transaction Management - Manages database transactions by grouping operations into atomic units with commit and rollback capabilities.
  • Type-Safe Query Construction - Facilitates advanced relational querying with joins and aggregations using type-safe C++ syntax.
  • In-Memory Databases - Supports volatile, in-memory database configurations for temporary, high-performance data storage.
  • Prepared Statement Interfaces - Executes strongly-typed, pre-compiled database statements to improve performance and security.
  • SQL Data Access Layers - Provides a type-safe abstraction layer that maps database tables to native C++ data structures for query execution.

Star history

Star history chart for fnc12/sqlite_ormStar history chart for fnc12/sqlite_orm

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

Curated searches featuring Sqlite Orm

Hand-picked collections where Sqlite Orm appears.
  • ORM library
  • an open source ORM for relational databases

Open-source alternatives to Sqlite Orm

Similar open-source projects, ranked by how many features they share with Sqlite Orm.
  • go-xorm/xormgo-xorm avatar

    go-xorm/xorm

    6,628View on GitHub↗

    xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries and maps database rows back into native objects, providing a multi-dialect database driver that supports MySQL, PostgreSQL, SQLite, Oracle, SQL Server, and TiDB. The project features a read-write splitting manager that routes modification requests to a primary database and read requests to replicas. It includes a database schema synchronizer to automatically align table structures and indexes with application data models, as well as a fluent SQL query builder for constructing co

    Gogolangmssqlmysql
    View on GitHub↗6,628
  • dotnet/efcoredotnet avatar

    dotnet/efcore

    14,587View on GitHub↗

    Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using strongly-typed code. It serves as a comprehensive data access framework, providing a unified interface for mapping application objects to relational and non-relational database schemas while managing the lifecycle of data operations through a central context. The project distinguishes itself through a provider-based architecture that decouples core data access logic from specific database engines, allowing for consistent interaction across diverse storage systems. It features a

    C#aspnet-productc-sharpdatabase
    View on GitHub↗14,587
  • guolindev/litepalguolindev avatar

    guolindev/LitePal

    8,068View on GitHub↗

    LitePal is an object-relational mapping library and SQLite database wrapper for Android applications. It replaces raw SQL queries with a fluent interface and object mapping to simplify local data persistence and database management. The project provides a specialized system for automatically synchronizing database schemas based on model definitions to handle version updates. It also includes a storage solution for securing sensitive data through configurable field-level encryption. The library covers broad data storage and synchronization capabilities, including atomic transaction support, m

    Javaandroidlitepalsqlite3
    View on GitHub↗8,068
  • seaql/sea-ormSeaQL avatar

    SeaQL/sea-orm

    9,410View on GitHub↗

    Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly typed objects. It provides a relational database mapper for performing CRUD operations across MySQL, PostgreSQL, and SQLite, and includes a programmatic dynamic query builder for constructing complex SQL statements. The project distinguishes itself by providing a GraphQL schema generator that transforms database entities into typed schemas with built-in pagination and filters. It also features a dedicated database migration tool for defining and applying versioned schema chan

    Rustdatabasehacktoberfestloco
    View on GitHub↗9,410
See all 30 alternatives to Sqlite Orm→

Frequently asked questions

What does fnc12/sqlite_orm do?

This project is a header-only C++ library that provides an object-relational mapping layer for SQLite databases. It enables developers to map native class structures directly to database tables, facilitating type-safe data persistence and retrieval without the need for raw query strings.

What are the main features of fnc12/sqlite_orm?

The main features of fnc12/sqlite_orm are: Object-Relational Mapping, SQLite ORMs, CRUD Operations, Object-Relational Mappers, Fluent Query Builders, Query Filters, Schema Synchronizers, Type-Safe Object-Relational Mappers.

What are some open-source alternatives to fnc12/sqlite_orm?

Open-source alternatives to fnc12/sqlite_orm include: go-xorm/xorm — xorm is a relational mapper and object-relational mapping tool for Go. It translates Go structures into SQL queries… dotnet/efcore — Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using… guolindev/litepal — LitePal is an object-relational mapping library and SQLite database wrapper for Android applications. It replaces raw… seaql/sea-orm — Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly… gaarason/database-all — This project is a Java-based object-relational mapping framework that utilizes the active record pattern to simplify… simolus3/drift — Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database…