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
kotlin-orm avatar

kotlin-orm/ktorm

0
View on GitHub↗
2,336 stars·162 forks·Kotlin·Apache-2.0·42 viewswww.ktorm.org↗

Ktorm

Ktorm is a lightweight object-relational mapping framework for Kotlin that provides a type-safe SQL domain-specific language and functional sequence APIs for database interaction. It enables developers to define database schemas and map relational tables to interface-based objects, ensuring that data persistence and retrieval are handled through strongly-typed expressions.

The framework distinguishes itself by utilizing a functional, collection-style approach to query construction, allowing developers to chain operations like filtering, sorting, and aggregation using idiomatic language patterns. By employing lazy sequence evaluation, the library ensures that database operations are deferred until data is explicitly accessed, which optimizes performance and memory usage during record retrieval.

The system covers a comprehensive range of database management capabilities, including automated join operations, result pagination, and entity lifecycle management. It supports complex schema definitions and custom type mapping, providing tools to synchronize in-memory object states with persistent database records while maintaining schema consistency through declarative metadata.

Features

  • Database Access and ORM - Retrieves records from relational tables as strongly-typed objects using a lazy-loading interface.
  • Object-Relational Mapping Frameworks - The ORM supports defining data entities as interface-based objects, allowing for property initialization and custom business logic through methods.
  • SQL Frameworks - Provides a lightweight database access library for Kotlin with a type-safe SQL DSL and functional sequence APIs.
  • Type-Safe Query Construction - Enables programmatic construction of SQL statements that ensures type safety and provides compile-time autocompletion.
  • Functional Query Interfaces - Provides functional APIs for chaining database operations using idiomatic collection-style patterns.
  • Interface-Based Mappers - Links relational table columns to interface-based objects using declarative bindings and automated row-to-entity conversion.
  • Type-Safe Query Builders - Provides tools for constructing database queries using strongly-typed language features that ensure schema consistency.
  • Kotlin DAO Layers - Provides a data access layer for Kotlin that maps rows to entity objects with lazy-loaded references.
  • Database Access - Provides a data retrieval interface that uses collection-style operators to filter, map, and process database records.
  • Column Mappings - Links table columns to entity properties using declarative bindings.
  • Metadata-Driven Schema Mappers - Links relational database structures to application objects using declarative metadata.
  • Database ORMs - Enables mapping database tables and columns to code objects using a strongly-typed schema definition language.
  • Entity Interfaces - Maps database tables to interface-based objects for property binding and business logic.
  • Lifecycle Management - Synchronizes in-memory object states with persistent database records throughout the entity lifecycle.
  • Functional Data Aggregation - Computes summary statistics like sums, averages, or counts from filtered database records.
  • Pagination - Facilitates efficient retrieval of large datasets by limiting records and setting offsets for pagination.
  • Query Filters - Applies conditional logic to database requests by chaining operations that refine selection criteria.
  • ORM Join Generators - Reduces boilerplate by automatically performing recursive joins on referenced tables to populate related data.
  • Relational Schemas - Defines database structures through code-based interfaces and declarative bindings to link application objects to table schemas.
  • Dialect-Specific SQL Generation - Translates abstract query definitions into database-specific SQL syntax at execution time.
  • Entity Mappings - Transforms relational table records into strongly-typed objects by automatically binding column values during retrieval.
  • Lazy Sequences - Optimizes performance by deferring database operations until data is explicitly accessed via lazy sequences.
  • Database & ORM Tools - A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.

Star history

Star history chart for kotlin-orm/ktormStar history chart for kotlin-orm/ktorm

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. 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

Open-source alternatives to Ktorm

Similar open-source projects, ranked by how many features they share with Ktorm.
  • doctrine/ormdoctrine avatar

    doctrine/orm

    10,172View on GitHub↗

    Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It uses the data mapper and identity map patterns to decouple the in-memory object model from the database schema, allowing developers to manage data persistence without writing manual SQL. The project features a dedicated object-oriented query language and programmatic builder for retrieving data based on entities rather than tables. It implements a unit-of-work system to track object changes during a request and synchronize them via atomic transactions. The capability surface inc

    PHPhacktoberfest
    View on GitHub↗10,172
  • 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
  • crazyguitar/pysheeetcrazyguitar avatar

    crazyguitar/pysheeet

    8,150View on GitHub↗

    pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns for advanced Python development, system integration, and high-performance computing. It serves as a comprehensive guide for implementing low-level network programming, native C extensions, and asynchronous and concurrent programming. The project provides specialized frameworks for the development and deployment of large language models, including tools for distributed GPU inference and high-performance serving. It also includes detailed patterns for high-performance computing

    Python
    View on GitHub↗8,150
  • jetbrains/exposedJetBrains avatar

    JetBrains/Exposed

    9,255View on GitHub↗

    Kotlin SQL Framework

    Kotlindaokotlinorm
    View on GitHub↗9,255
See all 30 alternatives to Ktorm→

Frequently asked questions

What does kotlin-orm/ktorm do?

Ktorm is a lightweight object-relational mapping framework for Kotlin that provides a type-safe SQL domain-specific language and functional sequence APIs for database interaction. It enables developers to define database schemas and map relational tables to interface-based objects, ensuring that data persistence and retrieval are handled through strongly-typed expressions.

What are the main features of kotlin-orm/ktorm?

The main features of kotlin-orm/ktorm are: Database Access and ORM, Object-Relational Mapping Frameworks, SQL Frameworks, Type-Safe Query Construction, Functional Query Interfaces, Interface-Based Mappers, Type-Safe Query Builders, Kotlin DAO Layers.

What are some open-source alternatives to kotlin-orm/ktorm?

Open-source alternatives to kotlin-orm/ktorm include: doctrine/orm — Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It… seaql/sea-orm — Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly… crazyguitar/pysheeet — pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns… jetbrains/exposed — Kotlin SQL Framework. uptrace/bun — Bun is a type-safe object relational mapper for Go that prioritizes SQL-first query construction and result mapping.… querydsl/querydsl — Querydsl is a framework for the construction of type-safe queries. It uses a fluent API and annotation-based code…

Curated searches featuring Ktorm

Hand-picked collections where Ktorm appears.
  • Kotlin Database Access Libraries
  • a backend framework for building web applications
  • SQL Query Builders Without ORMs