MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / truncate

Method truncate

src/storage/table/chunked_node_group.cpp:135–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void ChunkedNodeGroup::truncate(const offset_t numRows_) {
136 DASSERT(numRows >= numRows_);
137 for (const auto& chunk : chunks) {
138 chunk->truncate(numRows_);
139 }
140 numRows = numRows_;
141}
142
143void InMemChunkedNodeGroup::setNumRows(const offset_t numRows_) {
144 for (const auto& chunk : chunks) {

Callers 5

truncateWALFileMethod · 0.45
clearFileMethod · 0.45
splitMethod · 0.45
handleAppendExceptionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected