MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / hasStaticColumn

Function hasStaticColumn

lib/mapping/object-selector.js:315–317  ·  view source on GitHub ↗
(table)

Source from the content-addressed store, hash-verified

313}
314
315function hasStaticColumn(table) {
316 return staticColumnCount(table) > 0;
317}
318
319function staticColumnCount(table) {
320 return table.columns.reduce((acc, column) => acc + (column.isStatic ? 1 : 0), 0);

Callers 1

getForUpdateMethod · 0.85

Calls 1

staticColumnCountFunction · 0.85

Tested by

no test coverage detected