(&self, store_id: &str)
| 1788 | } |
| 1789 | |
| 1790 | async fn get_store_instance(&self, store_id: &str) -> Option<StoreInstanceRecord> { |
| 1791 | let mut rows = self |
| 1792 | .conn |
| 1793 | .query( |
| 1794 | "SELECT store_id, project_id, store_kind, storage_mode, store_relpath, |
| 1795 | manifest_relpath, created_at, last_verified_at, last_write_at |
| 1796 | FROM store_instances WHERE store_id = ?1", |
| 1797 | params![store_id], |
| 1798 | ) |
| 1799 | .await |
| 1800 | .ok()?; |
| 1801 | row_to_store_instance(&rows.next().await.ok()??, 0) |
| 1802 | } |
| 1803 | |
| 1804 | async fn get_graph_scope(&self, graph_scope_id: &str) -> Option<GraphScopeRecord> { |
| 1805 | let mut rows = self |
no test coverage detected