inibase 1.4.7 → 1.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1673,7 +1673,7 @@ export default class Inibase {
|
|
|
1673
1673
|
RETURN[column] = await File.sum(columnPath);
|
|
1674
1674
|
}
|
|
1675
1675
|
}
|
|
1676
|
-
return
|
|
1676
|
+
return columns.length > 1 ? RETURN : Object.values(RETURN)[0];
|
|
1677
1677
|
}
|
|
1678
1678
|
async max(tableName, columns, where) {
|
|
1679
1679
|
const RETURN = {};
|