You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above query expands properly and updates the database (when autoRefresh=false) , but when it executes refresh and tries to fetch the updated record, it fails with below error
The above statement fails and gives error of "EmptyResponse"
The reason is when it tries to do "_doFetch" after update, it does not find any record.
The below code/ss is from node_modules/bookshelf/lib/model.js
Expected behaviour
It should autorefresh properly using all the attributes. (This was working in 0.14.2, but not in 1.2.0)
The text was updated successfully, but these errors were encountered:
Introduction
Update fails when 'autoRefresh' true, but succeeds when false.
Below code was working in 0.14.2, but not in 1.2.0
Issue Description
I have a query where I need to update a number of rows based on a condition using 'in' clause. This is what I have written
The above query expands properly and updates the database (when autoRefresh=false) , but when it executes refresh and tries to fetch the updated record, it fails with below error
The above statement fails and gives error of "EmptyResponse"
The reason is when it tries to do "_doFetch" after update, it does not find any record.
The below code/ss is from node_modules/bookshelf/lib/model.js
Expected behaviour
It should autorefresh properly using all the attributes. (This was working in 0.14.2, but not in 1.2.0)
The text was updated successfully, but these errors were encountered: