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

Method hasLimit

src/Analyzer/QueryNode.h:588–591  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

586
587 /// Returns true if query node LIMIT section is not empty, false otherwise
588 bool hasLimit() const
589 {
590 return children[limit_child_index] != nullptr;
591 }
592
593 /// Get LIMIT section node
594 const QueryTreeNodePtr & getLimit() const

Calls

no outgoing calls

Tested by

no test coverage detected