MCPcopy Create free account
hub / github.com/dresende/node-orm2 / conditionAssign

Function conditionAssign

lib/LazyLoad.js:13–17  ·  view source on GitHub ↗
(instance, model)

Source from the content-addressed store, hash-verified

11};
12
13var conditionAssign = function (instance, model) {
14 var conditions = {};
15 conditions[model.id] = instance[model.id];
16 return conditions;
17};
18
19function addLazyLoadProperty(name, Instance, Model, property) {
20 var method = ucfirst(name);

Callers 1

addLazyLoadPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected