Ver código fonte

getDataFromQueries has a more in depth comment

Andrej Studen 1 semana atrás
pai
commit
c698384642
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      web/crf/runQuery.js

+ 5 - 0
web/crf/runQuery.js

@@ -93,6 +93,11 @@ function(parentClass,queryArray,cb){
 	//- filterArray to perform filtering, empty array works
 	//- callback cb to be called with no arguments
 	//
+
+   //the function will set parentClass[fieldName]=responseObj
+   //for each element in queryArray,
+   //where responseObj is returned by LABKEY.Query.selectRows()
+   //function, see https://labkey.github.io/labkey-api-js/classes/Query.Response.html
 	this.afterQuery(new Object(),-1,parentClass,queryArray,cb);
 }