MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / hasGroupBy

Method hasGroupBy

src/Analyzer/QueryNode.h:378–381  ·  view source on GitHub ↗

Returns true if query node GROUP BY section is not empty, false otherwise

Source from the content-addressed store, hash-verified

376
377 /// Returns true if query node GROUP BY section is not empty, false otherwise
378 bool hasGroupBy() const
379 {
380 return !getGroupBy().getNodes().empty();
381 }
382
383 /// Get GROUP BY section
384 const ListNode & getGroupBy() const

Calls 2

getNodesMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected