From 29388a8a8d4f953754648b69f2fdbea0fda592e8 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 26 May 2023 11:44:09 +0300 Subject: [PATCH] add complex expressions --- .../metadata/app/complexExpression.json | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/application/Espo/Resources/metadata/app/complexExpression.json b/application/Espo/Resources/metadata/app/complexExpression.json index c24fcb8d79..70f25a5dc7 100644 --- a/application/Espo/Resources/metadata/app/complexExpression.json +++ b/application/Espo/Resources/metadata/app/complexExpression.json @@ -236,6 +236,31 @@ "name": "ROUND", "insertText": "ROUND:(VALUE, PRECISION)", "returnType": "float" + }, + { + "name": "COUNT", + "insertText": "COUNT:(EXPR)", + "returnType": "int" + }, + { + "name": "SUM", + "insertText": "SUM:(EXPR)", + "returnType": "int|float" + }, + { + "name": "AVG", + "insertText": "AVG:(EXPR)", + "returnType": "float" + }, + { + "name": "MAX", + "insertText": "MAX:(EXPR)", + "returnType": "int|float" + }, + { + "name": "MIN", + "insertText": "MIN:(EXPR)", + "returnType": "int|float" } ] }