ORM Libraries

A list of Object-Relational Mapping (ORM) libraries available for each programming language. They simplify mapping between databases and objects, providing type safety and query readability. Select a language to see the ORM libraries available for that language.

JavaScript/TypeScript ORM Libraries

10 libraries

ORM libraries for JavaScript and TypeScript provide modern solutions focused on type safety and developer experience. Prisma features auto-generated typed clients, TypeORM offers a decorator-based approach, and Drizzle ORM provides lightweight and fast implementation. They are designed for Node.js environments and support major databases like PostgreSQL, MySQL, and SQLite.

Python ORM Libraries

6 libraries

Python ORM libraries provide a balance between simplicity and powerful features. SQLAlchemy is the most comprehensive and flexible, Django ORM is tightly integrated with the Django framework. Peewee is lightweight and easy to learn, while Tortoise ORM natively supports asynchronous operations. They cater to various use cases from data science to web applications.

Java ORM Libraries

6 libraries

Java ORM libraries provide enterprise-level features and maturity. Hibernate is the most widely used JPA implementation, Spring Data JPA offers Spring framework integration. MyBatis allows full SQL control, and JOOQ provides type-safe SQL query builders. They have proven track records in large-scale systems.

Go ORM Libraries

6 libraries

Go ORM libraries emphasize simplicity and performance. GORM is the most popular with developer-friendly APIs, Ent offers graph-based data modeling, and SQLC provides compile-time type safety. Following Go's philosophy, they focus on generating explicit and understandable code.

C# ORM Libraries

7 libraries

C# ORM libraries provide deep integration with the .NET ecosystem. Entity Framework Core is the official ORM developed by Microsoft, Dapper offers high-performance lightweight implementation, and NHibernate provides rich features as the .NET port of Hibernate. Integration with LINQ enables type-safe and expressive queries.

PHP ORM Libraries

7 libraries

PHP ORM libraries provide features specialized for web application development. Eloquent is popular as part of the Laravel framework, Doctrine is the most comprehensive and powerful ORM, and Propel features XML-based configuration. The Active Record pattern is widely adopted, providing intuitive APIs.

Ruby ORM Libraries

8 libraries

Ruby ORM libraries embody the 'convention over configuration' philosophy. Active Record is the core component of Ruby on Rails, Sequel emphasizes flexibility and extensibility, and ROM adopts a functional programming approach. They feature intuitive APIs using DSL, enabling rapid development.

Rust ORM Libraries

6 libraries

Rust ORM libraries provide memory safety and zero-cost abstractions. Diesel features compile-time type checking and safety, SeaORM offers async processing and migration management, and SQLx provides compile-time SQL validation through macros. They are suitable for systems where performance and security are critical.

Swift ORM Libraries

6 libraries

Swift ORM libraries are specialized for iOS and macOS application development. Core Data is Apple's official framework, SwiftData leverages modern Swift language features, Realm provides a NoSQL database, and GRDB offers a lightweight SQLite-focused implementation. They maximize the use of Swift's type system.

Kotlin ORM Libraries

6 libraries

Kotlin ORM libraries leverage Java interoperability and Kotlin's expressiveness. Exposed is a lightweight ORM developed by JetBrains, Ktorm utilizes Kotlin's DSL, Room is Android's official ORM, and JOOQ provides type-safe query builders similar to the Java version. They also support asynchronous processing with coroutines.

Scala ORM Libraries

6 libraries

Scala ORM libraries leverage the fusion of functional and object-oriented programming. Slick maximizes Scala's type system, Doobie offers a pure functional approach based on Cats Effect, and Quill provides compile-time query optimization. They feature type safety and high expressiveness.

Dart ORM Libraries

7 libraries

Dart ORM libraries are optimized for Flutter application development. Drift provides type-safe SQLite implementation, Floor offers Room-inspired design, Hive provides a NoSQL database, and Isar offers a high-performance database optimized for Flutter. They are designed for mobile application use.

C++ ORM Libraries

6 libraries

C++ ORM libraries provide performance and low-level control. SOCI supports multiple database backends, ODB is a compiler-based ORM, and sqlpp11 provides type-safe interfaces leveraging modern C++ features. They are suitable for system programming and high-performance applications.