What is Nostr?
Marc Planard /
npub108q…sj9f
2023-11-10 18:07:17
in reply to nevent1q…jufu

Marc Planard on Nostr: npub1eqghr…6fncn async is not the issue, SQL definitely is as I'm definitely ...

npub1eqghrdelwyf920kghgwlmkjve6ptgnjy3jzkpfvxjmmjsh4em83sq6fncn (npub1eqg…fncn) async is not the issue, SQL definitely is as I'm definitely terrible with it. But that's the thing: maybe I need to become less terrible at SQL instead of letting an ORM babysit me.
What made me pause and write this message is that I have to write like 5 or 10 queries which all have the same SELECT part and they just have the WHERE / ORDER / LIMIT part being different. Yet with sqlx I have no idea how to do that without repeating myself (and using concat!() for that sounds gross...)
Author Public Key
npub108qkm8p33amskf32zc7aclfv33zfla2n7jlv0pkcg70t7gral4xs27sj9f