Enum backend::db::user_like::Column [−][src]
pub enum Column {
Uid,
PostId,
}
Variants
Trait Implementations
type EntityName = Entity
fn 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
fn 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 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>,
fn starts_with(&self, s: &str) -> SimpleExpr
fn starts_with(&self, s: &str) -> SimpleExpr
fn max(&self) -> SimpleExpr
fn max(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn min(&self) -> SimpleExpr
fn min(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn sum(&self) -> SimpleExpr
fn sum(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn count(&self) -> SimpleExpr
fn count(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn is_null(&self) -> SimpleExpr
fn is_null(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
fn is_not_null(&self) -> SimpleExpr
fn is_not_null(&self) -> SimpleExpr
See also SeaQuery’s method with same name.
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
type Iterator = ColumnIter
fn iter() -> ColumnIterⓘNotable traits for ColumnIterimpl Iterator for ColumnIter type Item = Column;
impl Iterator for ColumnIter type Item = Column;
Auto Trait Implementations
impl RefUnwindSafe for Column
impl UnwindSafe for Column
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
pub fn identity_of(self) -> Identity
pub fn identity_of(self) -> Identity
Method to call to perform this check
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
pub fn into_column_ref(self) -> ColumnRef
pub fn into_identity(self) -> Identity
pub fn into_identity(self) -> Identity
Method to perform the conversion
pub fn into_index_column(self) -> IndexColumn
pub fn into_simple_expr(self) -> SimpleExpr
pub fn into_simple_expr(self) -> SimpleExpr
Method to perform the conversion
pub fn into_table_ref(self) -> TableRef
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more