Make use of indexes

This commit is contained in:
Yuriy Dupyn 2024-02-04 23:54:22 +01:00
parent 2357ea8230
commit 8139112934
5 changed files with 120 additions and 27 deletions

View file

@ -155,10 +155,7 @@ impl <T>Store<T> {
let mut result = Vec::with_capacity(header.number_of_columns);
for (column, &is_indexed) in header.indexed_columns.iter().enumerate() {
if is_indexed {
result.push(None)
// TODO: Once index connect is working, uncomment this line (and remove the
// above .push line
// result.push(Some(Self::connect_index_at(&header, column as Column).await?))
result.push(Some(Self::connect_index_at(&header, column as Column).await?))
} else {
result.push(None)
}