Retrieves a [`CatalogProvider`] instance by name
(&self, name: &str)
| 1905 | |
| 1906 | /// Retrieves a [`CatalogProvider`] instance by name |
| 1907 | pub fn catalog(&self, name: &str) -> Option<Arc<dyn CatalogProvider>> { |
| 1908 | self.state.read().catalog_list().catalog(name) |
| 1909 | } |
| 1910 | |
| 1911 | /// Registers a [`TableProvider`] as a table that can be |
| 1912 | /// referenced from SQL statements executed against this context. |