Is ORM still an anti-pattern?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. TypeORM

    ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

    It is a link to a specific comment on a GitHub issue [0] where multiple users chime in and report facing the same issue.

    Someone honestly trying to refute my comment in good faith could have looked around and easily understood this.

    They would then have found another comment [1], mentioning a pull request [2] supposedly fixing this issue, that explicitly aims to fix "performance issues".

    If that was not a bug, then I don’t know what is.

    But then, I understand that this can be a lot to ask.

    Personally, I believe the only valid criticism that could stand here would be that, not having bothered to check if it still was an issue, I perhaps should have instead used the past tense, out of precaution, instead of assuming the bug had been fixed two to three years after being initially reported. And I shall try to remember that.

    So thank you, I guess.

    [0]: https://github.com/typeorm/typeorm/issues/4499

    [1]: https://github.com/typeorm/typeorm/issues/4499#issuecomment-...

    [2]: https://github.com/typeorm/typeorm/pull/8169

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. lago

    Open Source Metering and Usage Based Billing API ⭐️ Consumption tracking, Subscription management, Pricing iterations, Payment orchestration & Revenue analytics

  4. SQLPage

    Fast SQL-only data application builder. Automatically build a UI on top of SQL queries.

    SQL is much more powerful than most people think, and taking an afternoon to learn everything you can do with it is a great investment.

    After you do that, you will probably not WANT an ORM anymore, finding that it makes your code less readable than plain sql, not simpler.

    Actually, you'll even realize that you may not need anything BUT sql to write your application, using something like (shameless plug) SQLPage [1]

    [1] https://sql.ophir.dev

  5. sqlite-fast

    A high performance, low allocation SQLite wrapper targeting .NET Standard 2.0.

    I think this is the sweet spot. Last time I worked with SQLite on .NET I wrote a wrapper library along those lines: https://github.com/zmj/sqlite-fast

  6. potygen

    Postgres SQL Parser and type generator

  7. sqlc

    Generate type-safe code from SQL

    Some examples for anyone else reading:

    https://github.com/kyleconroy/sqlc

    https://github.com/cornucopia-rs/cornucopia

    This is my preferred method of interacting with databases now.

    Very flexible.

  8. cornucopia

    Generate type-checked Rust from your PostgreSQL.

    Some examples for anyone else reading:

    https://github.com/kyleconroy/sqlc

    https://github.com/cornucopia-rs/cornucopia

    This is my preferred method of interacting with databases now.

    Very flexible.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. jOOQ

    jOOQ is the best way to write SQL in Java

  11. JDBI

    The Jdbi library provides convenient, idiomatic access to relational databases in Java and other JVM technologies such as Kotlin, Clojure or Scala.

  12. NORM

    NORM - No ORM framework (by hettie-d)

  13. Sequel

    Sequel: The Database Toolkit for Ruby

    Ruby sequel (http://sequel.jeremyevans.net/) is the only library where you can combine classic ORM Model bases usage, with a more raw query builder "just get me all the data into plain objects". You'll never need anything again in your career life.

  14. sqlx

    🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)

  15. postgres

    Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare (by porsager)

    Demonstrate how easily and accidentally one can make an SQL injection with these:

    https://github.com/porsager/postgres

    https://github.com/gajus/slonik

  16. slonik

    A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.

    Demonstrate how easily and accidentally one can make an SQL injection with these:

    https://github.com/porsager/postgres

    https://github.com/gajus/slonik

  17. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?