Commit 4035b7d7 authored by Marco Descher's avatar Marco Descher 🏔

java from

parent d3808d5a
......@@ -5,7 +5,8 @@ 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.toArray();
var result = Java.from(stream.toArray());
print(result);
for(r of result) {
print(r);
}
......
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