Multiple Database reads in a single roundtrip with Kysely

Is it possible to do multiple SELECTs from the db without another await? I'm assuming I could do something similar with Promise.all(). Is this the best solution?
2 Replies
Neto
Neto2y ago
Promise.all run them in parallel but you can't run "separate" queries in a single one
Tom
TomOP2y ago
thats kinda what i figured. good enough i guess
Want results from more Discord servers?
Add your server