v0.9.0
New Features
Save response data after calling the API
When setting the save
option to false
, now you can persist response data afterward via save
method on the response object.
// Don't save response data when calling API.
const result = await User.api().get('/api/users', {
save: false
})
// Save data afterwards.
result.save()
Please refer to the documentation for more.