Merge pull request #1387 from strongloop/ref/inclusion-docs
include: remove JSDoc refs to recursive calls
This commit is contained in:
commit
3630bb9ae4
|
@ -417,9 +417,8 @@ Inclusion.include = function(objects, include, options, cb) {
|
|||
throughFilter.where[polymorphic.discriminator] =
|
||||
relation.modelFrom.definition.name;
|
||||
}
|
||||
/**
|
||||
* 1st DB Call of 2 step process. Get through model objects first
|
||||
*/
|
||||
|
||||
// 1st DB Call of 2-step process. Get through model objects first
|
||||
findWithForeignKeysByPage(relation.modelThrough, throughFilter,
|
||||
relation.keyTo, 0, options, throughFetchHandler);
|
||||
|
||||
|
@ -464,9 +463,7 @@ Inclusion.include = function(objects, include, options, cb) {
|
|||
fields[modelToIdName] = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 2nd DB Call of 2 step process. Get modelTo (target) objects
|
||||
*/
|
||||
// 2nd DB Call of 2-step process. Get modelTo (target) objects
|
||||
findWithForeignKeysByPage(relation.modelTo, filter,
|
||||
modelToIdName, 0, options, targetsFetchHandler);
|
||||
|
||||
|
|
Loading…
Reference in New Issue