(&self, table_name: &str)
| 402 | } |
| 403 | |
| 404 | async fn open_table(&self, table_name: &str) -> Result<Table> { |
| 405 | self.db |
| 406 | .open_table(table_name) |
| 407 | .execute() |
| 408 | .await |
| 409 | .with_context(|| format!("failed to open table `{table_name}`")) |
| 410 | } |
| 411 | |
| 412 | async fn article_views_table(&self) -> Result<Table> { |
| 413 | self.open_table(&self.article_views_table).await |
no test coverage detected