objection.js
objection.js copied to clipboard
updateAndFetchById with select not affecting returned object structure
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!
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.