lib/plugins/query.js
function () {
            if (!this.__isNew) {
                var self = this;
                return this.dataset.naked().filter(this._getPrimaryKeyQuery()).one().chain(function (values) {
                    self.__setFromDb(values, true);
                    return self;
                });
            } else {
                return when(this);
            }
        }
function () {
            if (!this.__isNew) {
                var self = this;
                return this.dataset.naked().filter(this._getPrimaryKeyQuery()).one().chain(function (values) {
                    self.__setFromDb(values, true);
                    return self;
                });
            } else {
                return when(this);
            }
        }
function ( ) { if ( ! this . __isNew ) { var self = this ; return this . dataset . naked ( ) . filter ( this . _getPrimaryKeyQuery ( ) ) . one ( ) . chain ( function ( values ) { self . __setFromDb ( values , true ) ; return self ; } ) ; } else { return when ( this ) ; } }
Forces the reload of the data for a particular model instance.  The Promise returned is resolved with the
model.

@example

myModel.reload().chain(function(model){
//model === myModel
});

@return {comb.Promise} resolved with the model instance.
Forces the reload of the data for a particular model instance . The Promise returned is resolved with the model .