in backend/src/services/cypherService.js [38:54]
createResult(resultSet) {
let result;
let targetItem = resultSet;
if (Array.isArray(resultSet)) {
targetItem = resultSet.pop();
}
let cypherRow = targetItem.rows;
result = {
rows: cypherRow,
columns: this._getColumns(targetItem),
rowCount: this._getRowCount(targetItem),
command: this._getCommand(targetItem),
};
return result;
}