objection.js icon indicating copy to clipboard operation
objection.js copied to clipboard

updateAndFetchById with select not affecting returned object structure

Open vedtam opened this issue 4 years ago • 1 comments

Hi,

Was trying to chain a select statement right after updateAndFetchById but it doesn't seems to affect the return value. From what I've seen updateAndFetchById returns a query builder so it should handle it, but is seems it does not.

Haven't found any mention in the doc, would appreciate your feedback. Thanks!

vedtam avatar Dec 11 '20 09:12 vedtam

Could you provide a simple reproducible example using the reproduction-template.js in the objection repo? This would help a lot with debugging and understanding this issue.

lehni avatar Apr 15 '23 08:04 lehni