kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programming@programming.devbyAijan@programming.dev
2 years

Writing Composable SQL using Knex and Pipelines

lackofimagination.org
7
    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…
    You must log in or register to comment.

    • vext01@lemmy.sdf.org
      2 years

      Got excited when I read “knex”, but it wasn’t what I thought… not the amazing construction set I had as a kid.

        • MonkderVierte@lemmy.ml
          2 years

          It still exists.

        • MonkderVierte@lemmy.ml
          2 years

          Knex pipelines:

          • abbadon420@lemm.ee
            2 years

            Serious question, what’s the problem with hibernate?

              • SandLight@lemmy.worldEnglish
                2 years

                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.

                • Aijan@programming.dev
                  2 years

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

                    • MajorHavoc@programming.dev
                      2 years

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

                  Programming@programming.dev

                  programming@programming.dev

                  Subscribe from remote instance

                  Create post

                  Report community

                  Modlog
                  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: !programming@programming.dev

                  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 !webdev@programming.dev



                  Visibility: Public

                  This community is visible to everyone.

                  • 1 user / Day
                  • 177 users / Week
                  • 240 users / Month
                  • 402 users / 6 months
                  • 3.18K posts
                  • 46K comments
                  • 1 local subscriber
                  • 27.4K subscribers
                  • UI: 1.0.0-beta.0
                  • BE: 1.0.0-alpha.20
                  • Modlog
                  • Instances
                  • Docs
                  • Code
                  • join-lemmy.org