• traches
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    2
    ·
    1 year ago

    SQL is run on the server to communicate with a database. The screenshot is jsx, which is a front-end, UI templating language. Writing SQL this way is cursed

    • SirQuackTheDuck@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      It could be querying the in-browser database (that’s commonly used, such as with WhatsApp web), which would be seeded by a different part of the application