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

Function CannotCreateIndexOnColumn

common/errors.cc:817–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

815}
816
817absl::Status CannotCreateIndexOnColumn(absl::string_view index_name,
818 absl::string_view column_name,
819 absl::string_view column_type) {
820 return absl::Status(
821 absl::StatusCode::kFailedPrecondition,
822 absl::Substitute("Cannot reference $2 $1 in the creation of index $0.",
823 index_name, column_name, column_type));
824}
825
826absl::Status InvalidPrimaryKeyColumnType(absl::string_view column_name,
827 absl::string_view type) {

Callers 3

ValidateMethod · 0.85
TEST_PFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected