Is there a programming language specifically designed for interacting with SQL databases that avoids the need for Object-Relational Mappers (ORMs) to solve impedance mismatch from the start?

If such a language exists, would it be a viable alternative to PHP or Go for a web backend project?

  • thesmokingman@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    8 个月前

    If you’re at the point where you need the performance boost from raw SQL over an ORM, you have solutions for these problems such as a well-maintained, centralized interface or store for SQL.

    OP wasn’t asking for best principles, OP was asking for a language that replaces ORMs. That’s SQL directly in your code.