(&self)
| 4310 | |
| 4311 | impl ObjectType { |
| 4312 | pub fn lives_in_schema(&self) -> bool { |
| 4313 | match self { |
| 4314 | ObjectType::Table |
| 4315 | | ObjectType::View |
| 4316 | | ObjectType::MaterializedView |
| 4317 | | ObjectType::Source |
| 4318 | | ObjectType::Sink |
| 4319 | | ObjectType::Index |
| 4320 | | ObjectType::Type |
| 4321 | | ObjectType::Secret |
| 4322 | | ObjectType::Connection |
| 4323 | | ObjectType::Func |
| 4324 | | ObjectType::Subsource => true, |
| 4325 | ObjectType::Database |
| 4326 | | ObjectType::Schema |
| 4327 | | ObjectType::Cluster |
| 4328 | | ObjectType::ClusterReplica |
| 4329 | | ObjectType::Role |
| 4330 | | ObjectType::NetworkPolicy => false, |
| 4331 | } |
| 4332 | } |
| 4333 | } |
| 4334 | |
| 4335 | impl AstDisplay for ObjectType { |
no outgoing calls
no test coverage detected