src/model.js
function reload() {
			var params = {}

			params[model.primary] = me[model.primary]
		
			var act = new NobleMachine(model.find(params));

			act.next(function(newInst) {
				if (newInst) {
					for (var col in model.columns) {
						me[col] = newInst[col];
					}

					act.toNext(me);
				} else {
					for (var key in model.columns) {
						me[key] = undefined
					}

					act.toNext(null);
				}
			});

			return act;
		}
function reload() {
			var params = {}

			params[model.primary] = me[model.primary]
		
			var act = new NobleMachine(model.find(params));

			act.next(function(newInst) {
				if (newInst) {
					for (var col in model.columns) {
						me[col] = newInst[col];
					}

					act.toNext(me);
				} else {
					for (var key in model.columns) {
						me[key] = undefined
					}

					act.toNext(null);
				}
			});

			return act;
		}
function reload ( ) { var params = { } params [ model . primary ] = me [ model . primary ] var act = new NobleMachine ( model . find ( params ) ) ; act . next ( function ( newInst ) { if ( newInst ) { for ( var col in model . columns ) { me [ col ] = newInst [ col ] ; } act . toNext ( me ) ; } else { for ( var key in model . columns ) { me [ key ] = undefined } act . toNext ( null ) ; } } ) ; return act ; }
Reloads the object's properties with the current database values.
Reloads the object s properties with the current database values .