• traches@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    2
    ·
    6 months 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
      ·
      6 months 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