idea-toolbox
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -319,3 +319,3 @@ 'use strict'; | ||
* @param {string} lookupKey lookupTable's column for the join condition | ||
* @param {(attrMainTable, attrLookupTable) => Array<any>} selectFunction defines which attributes we want to retain in the joined array | ||
* @param {(attrMainTable, attrLookupTable) => Array<any>} selectFunction defines which attributes we want to retain in the joined array; null values generated by the function are ignored | ||
* @return {Array<any>} the joined array | ||
@@ -335,5 +335,6 @@ */ | ||
let x = lookupIndex[y[mainKey]]; // get corresponding row from lookupTable | ||
output.push(selectFunction(y, x)); // select only the columns you need | ||
let o = selectFunction(y, x); // select only the columns you need | ||
if(o) output.push(o); // null values returned by the select function are ignored | ||
} | ||
return output; | ||
} |
{ | ||
"name": "idea-toolbox", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "IDEA's utility functions", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16730
345