pub trait IntoExpr {
// Required method
fn like_expr<T>(&self, col: T) -> SimpleExpr
where T: ColumnTrait;
}Available on crate features
api and seaorm only.Expand description
Helpers to turn strings into SeaORM/SeaQuery expressions.
Required Methods§
Sourcefn like_expr<T>(&self, col: T) -> SimpleExprwhere
T: ColumnTrait,
fn like_expr<T>(&self, col: T) -> SimpleExprwhere
T: ColumnTrait,
Build col LIKE '%<self>%', escaping \, % and _ in self.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".