NelsonMK
NelsonMK
try this ```typescript db.book.find(1).select({ authorIds: q.authors.pluck('id') // will get all authorIds }) ```
Seems the [all](https://orchid-orm.netlify.app/guide/query-methods.html#all) method is not being applied by default. May be a bug. Try this @mordechaim ```typescript db.book.find(1).select({ bios: q.authors.chain('bio').select('id', 'description').all() // manually add .all() }) ```
Works like a charm. Thank you.
Had the same issue so I took inspiration from [this](https://orm.drizzle.team/docs/guides/update-many-with-different-value) article on drizzle Here is my implementation, it is not pretty but works ```typescript let orderCase = 'CASE\n'; let stepIdCase...