objection-reload
v1.0.1
Published
Reload latest values from database through instance
Readme
objection plugin to reload the latest values from database
Usage
npm i -S objection-reloadInclude with mixin
const Reload = require('objection-reload')
class User extends mixin(Model, [Reload]) {Then
user.$reload();Limitations
It will only load its own properties and not relations
