programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Aijan to Programming · 6 months ago

Writing Composable SQL using Knex and Pipelines

lackofimagination.org

external-link
message-square
7
link
fedilink
  • cross-posted to:
  • [email protected]
22
external-link

Writing Composable SQL using Knex and Pipelines

lackofimagination.org

Aijan to Programming · 6 months ago
message-square
7
link
fedilink
  • cross-posted to:
  • [email protected]
Despite all its strengths, SQL can be awkward to integrate with host languages such as JavaScript and Python. There’s often an impedance mismatch between SQL’s declarative nature and the host language’s object-oriented or functional paradigms – SQL queries are typically written as strings within the host language, making it difficult to apply composable programming techniques…
  • abbadon420@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    6 months ago

    Serious question, what’s the problem with hibernate?

    • AijanOP
      link
      fedilink
      arrow-up
      4
      ·
      6 months ago

      I think this page explains it well: https://en.wikipedia.org/wiki/Object–relational_impedance_mismatch

      • MajorHavoc
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        6 months ago

        That’s a great write-up. Thank you.

    • SandLight@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 months ago

      Half the time I wish I was raw dogging sql and object mappers. Hibernate can be so annoying to set up right with complicated relations.

Programming

programming

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 66 users / day
  • 718 users / week
  • 2.91K users / month
  • 7.09K users / 6 months
  • 2.71K local subscribers
  • 20.1K subscribers
  • 2.17K Posts
  • 34.9K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • MaungaHikoi@lemmy.nz
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org