Commit 602806e7 authored by Marco Descher's avatar Marco Descher
Browse files

test

parent 33ee00bc
name = "Anzahl Konsultationen nach Mandant"
description = "Torten-Grafik mit Übersicht Anzahl Konsultationen nach Mandant"
category = "finance"
[executor]
type = "js"
entrypoint = "/misthios.js"
coreModelService = Polyglot.import("coreModelService");
const Collectors = Java.type("java.util.stream.Collectors");
const sql = 'SELECT COUNT(*),MandantID FROM BEHANDLUNGEN GROUP BY MandantID';
var stream = coreModelService.executeNativeQuery(sql);
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