pub struct Column { /* private fields */ }Implementations§
Source§impl Column
impl Column
pub fn def(&self) -> ColumnDef
pub fn column_name(&self) -> &str
pub fn enum_type_name(&self) -> Option<&str>
pub fn entity_name(&self) -> DynIden
pub fn as_column_ref(&self) -> (DynIden, DynIden)
pub fn eq<V>(&self, v: V) -> Expr
pub fn ne<V>(&self, v: V) -> Expr
pub fn gt<V>(&self, v: V) -> Expr
pub fn gte<V>(&self, v: V) -> Expr
pub fn lt<V>(&self, v: V) -> Expr
pub fn lte<V>(&self, v: V) -> Expr
pub fn between<V>(&self, a: V, b: V) -> SimpleExpr
pub fn not_between<V>(&self, a: V, b: V) -> SimpleExpr
pub fn like<T>(&self, s: T) -> SimpleExprwhere
T: IntoLikeExpr,
pub fn not_like<T>(&self, s: T) -> SimpleExprwhere
T: IntoLikeExpr,
pub fn starts_with<T>(&self, s: T) -> SimpleExpr
pub fn ends_with<T>(&self, s: T) -> SimpleExpr
pub fn contains<T>(&self, s: T) -> SimpleExpr
Sourcepub fn is_not_null(&self) -> Expr
pub fn is_not_null(&self) -> Expr
See also SeaQuery’s method with same name.
pub fn if_null<V>(&self, v: V) -> SimpleExpr
pub fn is_in<V, I>(&self, v: I) -> Expr
pub fn is_not_in<V, I>(&self, v: I) -> Expr
pub fn in_subquery(&self, s: SelectStatement) -> Expr
pub fn not_in_subquery(&self, s: SelectStatement) -> Expr
pub fn into_expr(self) -> Expr
pub fn into_returning_expr(self, db_backend: DbBackend) -> Expr
pub fn select_as(&self, expr: Expr) -> SimpleExpr
pub fn save_as(&self, val: Expr) -> SimpleExpr
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more