sea-query 0.32.7

🔱 A dynamic query builder for MySQL, Postgres and SQLite
Documentation
use crate::{Alias, DynIden};

pub type IndexName = Alias;

#[derive(Debug, Clone, PartialEq)]
pub struct IndexHint {
    pub index: DynIden,
    pub r#type: IndexHintType,
    pub scope: IndexHintScope,
}

#[derive(Debug, Clone, Copy, PartialEq)]
pub enum IndexHintType {
    Use,
    Ignore,
    Force,
}

#[derive(Debug, Clone, Copy, PartialEq)]
pub enum IndexHintScope {
    Join,
    OrderBy,
    GroupBy,
    All,
}