Lemmy.Lynas.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
irelephant [he/him]@lemmy.dbzer0.com to Programmer Humor@programming.dev · 3 days ago

: (

lemmy.dbzer0.com

message-square
32
link
fedilink
298

: (

lemmy.dbzer0.com

irelephant [he/him]@lemmy.dbzer0.com to Programmer Humor@programming.dev · 3 days ago
message-square
32
link
fedilink
  • irelephant [he/him]@lemmy.dbzer0.comOP
    link
    fedilink
    arrow-up
    9
    ·
    3 days ago

    In my case, I want to use sqlite locally, for development, but I don’t want to add a load of jank to handle booleans for sqlite.

    • RustyNova@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      3 days ago

      I use rust’s SQLx which map bools to numbers so it must be a problem with your connector maybe

      • irelephant [he/him]@lemmy.dbzer0.comOP
        link
        fedilink
        arrow-up
        4
        ·
        3 days ago

        Yeah I should probably open an issue.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        3 days ago

        username checks out

        so it must be a problem with your connector maybe

        or with their programming language

        • RustyNova@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          3 days ago

          I actually started using rust well after picking this username :P

    • nilloc@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 days ago

      That’s what I like about Ruby ORMs. They did all the conversion for you, and you could have SQLite on your dev box, Postgres on the test server and MySQL on the annoying production host that wouldn’t run anything else.

      This was 18 years ago though.

      • ℍ𝕂-𝟞𝟝@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 hours ago

        Are not all ORMs like that? I only used ActiveRecord before fucking off from backend 10 years ago

    • qevlarr@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      This is sqlite’s intended use case. To replace configure files and local data

Programmer Humor@programming.dev

programmer_humor@programming.dev

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 Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 679 users / day
  • 3.37K users / week
  • 3.41K users / month
  • 3.47K users / 6 months
  • 1 local subscriber
  • 31.4K subscribers
  • 152 Posts
  • 751 Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org