(&self, table_id: TableId)
| 34 | } |
| 35 | |
| 36 | fn schema_for_table(&self, table_id: TableId) -> Option<Arc<TableOrViewSchema>> { |
| 37 | self.tx |
| 38 | .get_schema(table_id) |
| 39 | .filter(|schema| self.auth.has_read_access(schema.table_access)) |
| 40 | .map(Arc::clone) |
| 41 | .map(TableOrViewSchema::from) |
| 42 | .map(Arc::new) |
| 43 | } |
| 44 | |
| 45 | fn rls_rules_for_table(&self, table_id: TableId) -> anyhow::Result<Vec<Box<str>>> { |
| 46 | self.tx |
no test coverage detected