Struct mob_server::schema::teams::table
[−]
pub struct table;
The actual table struct
This is the type which provides the base methods of the query
builder, such as .select
and .filter
.
Methods
impl table
pub fn star(&self) -> star
Represents table_name.*
, which is sometimes necessary
for efficient count queries. It cannot be used in place of
all_columns
Trait Implementations
impl<JoinType> JoinTo<table, JoinType> for table
type JoinClause = Join<<table as QuerySource>::FromClause, <table as QuerySource>::FromClause, Eq<Nullable<team_id>, Nullable<<table as Table>::PrimaryKey>>, JoinType>
fn join_clause(&self, join_type: JoinType) -> Self::JoinClause
impl<'insert, DB> Insertable<table, DB> for &'insert NewTeam where
DB: Backend,
(ColumnInsertValue<time, AsNullableExpr<&'insert f64, time>>,): InsertValues<DB>,
DB: Backend,
(ColumnInsertValue<time, AsNullableExpr<&'insert f64, time>>,): InsertValues<DB>,
type Values = (ColumnInsertValue<time, AsNullableExpr<&'insert f64, time>>,)
fn values(self) -> Self::Values
impl<'insert, Op> IntoInsertStatement<table, Op> for &'insert NewTeam
type InsertStatement = InsertStatement<table, Self, Op>
fn into_insert_statement(
self,
target: table,
operator: Op
) -> Self::InsertStatement
self,
target: table,
operator: Op
) -> Self::InsertStatement
impl<'insert> UndecoratedInsertRecord<table> for &'insert NewTeam
impl SelectableExpression<table> for star
impl AppearsOnTable<table> for star
impl SelectableExpression<table> for id
impl AppearsOnTable<table> for id
impl SelectableExpression<table> for time
impl AppearsOnTable<table> for time
impl Debug for table
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for table
fn clone(&self) -> table
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for table
impl QuerySource for table
type FromClause = Identifier<'static>
type DefaultSelection = Self::AllColumns
fn from_clause(&self) -> Self::FromClause
fn default_selection(&self) -> Self::DefaultSelection
impl AsQuery for table
impl Table for table
type PrimaryKey = id
type AllColumns = (id, time)
fn primary_key(&self) -> Self::PrimaryKey
fn all_columns() -> Self::AllColumns
fn inner_join<T>(self, other: T) -> InnerJoinSource<Self, T> where
Self: JoinTo<T, Inner>,
T: Table,
[src]
Self: JoinTo<T, Inner>,
T: Table,
fn left_outer_join<T>(self, other: T) -> LeftOuterJoinSource<Self, T> where
Self: JoinTo<T, LeftOuter>,
T: Table,
[src]
Self: JoinTo<T, LeftOuter>,
T: Table,