sea_query::extension::mysql

Trait MySqlSelectStatementExt

source
pub trait MySqlSelectStatementExt {
    // Required methods
    fn use_index<I>(&mut self, index: I, scope: IndexHintScope) -> &mut Self
       where I: IntoIden;
    fn force_index<I>(&mut self, index: I, scope: IndexHintScope) -> &mut Self
       where I: IntoIden;
    fn ignore_index<I>(&mut self, index: I, scope: IndexHintScope) -> &mut Self
       where I: IntoIden;
}
Available on crate feature backend-mysql only.

Required Methods§

source

fn use_index<I>(&mut self, index: I, scope: IndexHintScope) -> &mut Self
where I: IntoIden,

source

fn force_index<I>(&mut self, index: I, scope: IndexHintScope) -> &mut Self
where I: IntoIden,

source

fn ignore_index<I>(&mut self, index: I, scope: IndexHintScope) -> &mut Self
where I: IntoIden,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§