Can I do a synchronous find()
with Sequelize? e.g.
const user = User.find({ id: 1 })
(This seems to just get a promise.)
I ended up doing this
const user = yield User.find({ id });
It seems to work as expected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With