Make use of indexes
This commit is contained in:
parent
2357ea8230
commit
8139112934
5 changed files with 120 additions and 27 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue