Enum sea_orm_migration::seaql_migrations::Column
source · [−]pub enum Column {
Version,
AppliedAt,
}
Variants
Version
AppliedAt
Trait Implementations
sourceimpl ColumnTrait for Column
impl ColumnTrait for Column
type EntityName = Entity
sourcefn entity_name(&self) -> Arc<dyn Iden + 'static>
fn entity_name(&self) -> Arc<dyn Iden + 'static>
Get the name of the entity the column belongs to
sourcefn as_column_ref(&self) -> (Arc<dyn Iden + 'static>, Arc<dyn Iden + 'static>)
fn as_column_ref(&self) -> (Arc<dyn Iden + 'static>, Arc<dyn Iden + 'static>)
get the name of the entity the column belongs to
fn eq<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn ne<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn gt<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn gte<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn lt<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn lte<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
sourcefn not_between<V>(&self, a: V, b: V) -> SimpleExpr where
V: Into<Value>,
fn not_between<V>(&self, a: V, b: V) -> SimpleExpr where
V: Into<Value>,
sourcefn like(&self, s: &str) -> SimpleExpr
fn like(&self, s: &str) -> SimpleExpr
sourcefn not_like(&self, s: &str) -> SimpleExpr
fn not_like(&self, s: &str) -> SimpleExpr
sourcefn starts_with(&self, s: &str) -> SimpleExpr
fn starts_with(&self, s: &str) -> SimpleExpr
sourcefn ends_with(&self, s: &str) -> SimpleExpr
fn ends_with(&self, s: &str) -> SimpleExpr
sourcefn contains(&self, s: &str) -> SimpleExpr
fn contains(&self, s: &str) -> SimpleExpr
sourcefn max(&self) -> SimpleExpr
fn max(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
sourcefn min(&self) -> SimpleExpr
fn min(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
sourcefn sum(&self) -> SimpleExpr
fn sum(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
sourcefn count(&self) -> SimpleExpr
fn count(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
sourcefn is_null(&self) -> SimpleExpr
fn is_null(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
sourcefn is_not_null(&self) -> SimpleExpr
fn is_not_null(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
sourcefn if_null<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
fn if_null<V>(&self, v: V) -> SimpleExpr where
V: Into<Value>,
Perform an operation if the column is null
fn is_in<V, I>(&self, v: I) -> SimpleExpr where
V: Into<Value>,
I: IntoIterator<Item = V>,
fn is_not_in<V, I>(&self, v: I) -> SimpleExpr where
V: Into<Value>,
I: IntoIterator<Item = V>,
fn in_subquery(&self, s: SelectStatement) -> SimpleExpr
fn not_in_subquery(&self, s: SelectStatement) -> SimpleExpr
sourceimpl IdenStatic for Column
impl IdenStatic for Column
sourceimpl IntoEnumIterator for Column
impl IntoEnumIterator for Column
type Iterator = ColumnIter
fn iter() -> ColumnIterⓘNotable traits for ColumnIterimpl Iterator for ColumnIter type Item = Column;
impl Copy for Column
Auto Trait Implementations
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<E, C> IdentityOf<E> for C where
E: EntityTrait<Column = C>,
C: ColumnTrait,
impl<E, C> IdentityOf<E> for C where
E: EntityTrait<Column = C>,
C: ColumnTrait,
sourcefn identity_of(self) -> Identity
fn identity_of(self) -> Identity
Method to call to perform this check
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoColumnRef for T where
T: 'static + IntoIden,
impl<T> IntoColumnRef for T where
T: 'static + IntoIden,
fn into_column_ref(self) -> ColumnRef
sourceimpl<T> IntoIdentity for T where
T: IdenStatic,
impl<T> IntoIdentity for T where
T: IdenStatic,
sourcefn into_identity(self) -> Identity
fn into_identity(self) -> Identity
Method to perform the conversion
impl<I> IntoIndexColumn for I where
I: IntoIden,
impl<I> IntoIndexColumn for I where
I: IntoIden,
fn into_index_column(self) -> IndexColumn
sourceimpl<C> IntoSimpleExpr for C where
C: ColumnTrait,
impl<C> IntoSimpleExpr for C where
C: ColumnTrait,
sourcefn into_simple_expr(self) -> SimpleExpr
fn into_simple_expr(self) -> SimpleExpr
Method to perform the conversion
impl<T> IntoTableRef for T where
T: 'static + IntoIden,
impl<T> IntoTableRef for T where
T: 'static + IntoIden,
fn into_table_ref(self) -> TableRef
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more