pub enum QueryHint {
Recompile,
}Expand description
SQL Server query hints supported by typed raw queries.
Hints are rendered by the ORM at the end of the raw SQL as an
OPTION (...) clause. Do not also write a top-level OPTION (...) clause
manually in the SQL string.
Variants§
Recompile
Adds OPTION (RECOMPILE) to the query.
Trait Implementations§
Source§impl Ord for QueryHint
impl Ord for QueryHint
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for QueryHint
impl PartialOrd for QueryHint
impl Copy for QueryHint
impl Eq for QueryHint
impl StructuralPartialEq for QueryHint
Auto Trait Implementations§
impl Freeze for QueryHint
impl RefUnwindSafe for QueryHint
impl Send for QueryHint
impl Sync for QueryHint
impl Unpin for QueryHint
impl UnsafeUnpin for QueryHint
impl UnwindSafe for QueryHint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more