(schema_name: &SchemaName)
| 89 | } |
| 90 | |
| 91 | fn get_schema_name(schema_name: &SchemaName) -> String { |
| 92 | match schema_name { |
| 93 | SchemaName::Simple(schema_name) => object_name_to_string(schema_name), |
| 94 | SchemaName::UnnamedAuthorization(auth) => ident_to_string(auth), |
| 95 | SchemaName::NamedAuthorization(schema_name, auth) => format!( |
| 96 | "{}.{}", |
| 97 | object_name_to_string(schema_name), |
| 98 | ident_to_string(auth) |
| 99 | ), |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | /// Construct `TableConstraint`(s) for the given columns by iterating over |
| 104 | /// `columns` and extracting individual inline constraint definitions. |
no test coverage detected
searching dependent graphs…