hakodb 0.23.1

Embedded & Cloud-native Document Engine
Documentation
1
2
3
4
5
6
7
use crate::index::manager::IndexManager;

use super::query::Query;

pub fn has_matching_composite_index(query: &Query, indexes: &IndexManager) -> bool {
    indexes.has_index(&query.collection, &query.composite_fields())
}