(
&self,
table_name: &str,
index_name: &str,
asc: Option<bool>,
cmp_value: Option<(&IndexOperator, Value)>,
)
| 646 | #[async_trait] |
| 647 | impl Index for CompositeStorage { |
| 648 | async fn scan_indexed_data( |
| 649 | &self, |
| 650 | table_name: &str, |
| 651 | index_name: &str, |
| 652 | asc: Option<bool>, |
| 653 | cmp_value: Option<(&IndexOperator, Value)>, |
| 654 | ) -> Result<RowIter<'_>> { |
| 655 | if self.is_virtual_table(table_name) { |
| 656 | // Virtual tables don't support indexes, fall back to full scan |
| 657 | self.scan_data(table_name).await |
| 658 | } else { |
| 659 | self.json_storage |
| 660 | .scan_indexed_data(table_name, index_name, asc, cmp_value) |
| 661 | .await |
| 662 | } |
| 663 | } |
| 664 | } |
| 665 | |
| 666 | // Implement IndexMut (delegate to JsonStorage) |
nothing calls this directly
no test coverage detected