MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cloud-spanner-emulator / IsKeyColumn

Function IsKeyColumn

backend/query/query_engine.cc:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240bool IsKeyColumn(const googlesql::Table* table,
241 const std::string& column_name) {
242 return table->GetAs<QueryableTable>()->wrapped_table()->FindKeyColumn(
243 column_name) != nullptr;
244}
245
246// Simple visitor to traverse an expression and check if it references
247// a pending commit timestamp value column (that is, a column set to

Callers 1

Calls 2

FindKeyColumnMethod · 0.80
wrapped_tableMethod · 0.80

Tested by

no test coverage detected