Commit 85bbf5fd authored by Marco Descher's avatar Marco Descher 🏔
Browse files

Update misthios.js

parent b7cebc44
......@@ -4,6 +4,7 @@ const Collectors = Java.type("java.util.stream.Collectors");
const sql = 'SELECT COUNT(*),MandantID FROM BEHANDLUNGEN GROUP BY MandantID';
var stream = coreModelService.executeNativeQuery(sql);
print(stream);
var result = stream.map(e => e.toString()).collect(Collectors.toList())
print(result);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment