From bd3e400421277ff968f7c30088877d04035d5543 Mon Sep 17 00:00:00 2001 From: Krzysztof Kiewicz Date: Tue, 21 May 2024 19:11:31 +0200 Subject: [PATCH] Fix staticcheck --- quesma/model/query.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/quesma/model/query.go b/quesma/model/query.go index 2175d133b..2ee851a95 100644 --- a/quesma/model/query.go +++ b/quesma/model/query.go @@ -49,6 +49,7 @@ type Query struct { Metadata JsonMap } +/* type subQuery struct { sql string innerJoin string @@ -58,6 +59,8 @@ type subQuery struct { func newSubQuery(sql, innerJoin, name string) subQuery { return subQuery{sql: sql, innerJoin: innerJoin, name: name} } + erase if still not used after 'respect size in aggregations' issue +*/ var NoMetadataField JsonMap = nil