}
qry = plv8.execute(sql1, clause.parameters);
- if (!qry.length) { return [] };
+ if (!qry.length) { return []; }
qry.forEach(function (row) {
ids.push(row.id);
idParams.push("$" + counter);
/**
Wrapper for XM.ItemSiteListItem.fetch with support for REST query formatting.
Sample usage:
- select xt.post($${
+ select xt.post('{
"nameSpace":"XM",
"type":"ItemSiteListItem",
"dispatch":{
},
"username":"admin",
"encryptionKey":"hm6gnf3xsov9rudi"
- }$$);
+ }');
@param {Object} options: query
@returns Object