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?

  • eluvatar@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    Yeah Linq is truly unique in programming languages. The fact that I can write a where clause how I would in normal code and it just translates it into SQL is so much nicer than some DSL for filtering

    • pixxelkick@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      100%, the extremely 1:1 way that c# translates into sql is prolly the closest to what OP wants, I’ve tried a variety of ORMs and EF Core us hands down the best I’ve used.

      The fact it doubles as a DB Schema manager and migration engine is just icing on the cake. All my database related needs in one spot.