Read a procedure record from this node's local `SystemCatalog`.
(&self, tenant_id: u64, name: &str)
| 176 | |
| 177 | /// Read a procedure record from this node's local `SystemCatalog`. |
| 178 | pub fn has_procedure(&self, tenant_id: u64, name: &str) -> bool { |
| 179 | self.shared |
| 180 | .credentials |
| 181 | .catalog() |
| 182 | .as_ref() |
| 183 | .and_then(|c| c.get_procedure(tenant_id, name).ok().flatten()) |
| 184 | .is_some() |
| 185 | } |
| 186 | |
| 187 | /// Check whether a scheduled job with the given name exists in |
| 188 | /// this node's in-memory `schedule_registry`. |
no test coverage detected