Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
query,
args
});
if (err) {
throw err;
} else {
for (const row of rows) {
for (const key in row) {
if (row.hasOwnProperty(key)) {
const value = row[key];
if (value && typeof value === "object") {
const low = row[key].low;
const high = row[key].high;
if (low !== undefined && high !== undefined) {
row[key] = Database.Integer.fromBits(low, high);
}
}
}
}
}
return rows;
}
}
};