Struct cargo_registry::schema::readme_rendering::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
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 Debug for table
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 = version_id
type AllColumns = (version_id, rendered_at)
fn primary_key(&self) -> Self::PrimaryKey
fn all_columns() -> Self::AllColumns
impl HasTable for table
impl IntoUpdateTarget for table
type WhereClause = <Self::Query as IntoUpdateTarget>::WhereClause
fn into_update_target(self) -> UpdateTarget<Self::Table, Self::WhereClause>
impl AppearsInFromClause<table> for table
impl<T> AppearsInFromClause<T> for table where
T: Table + JoinTo<table>,
T: Table + JoinTo<table>,
impl<Left, Right, Kind> JoinTo<Join<Left, Right, Kind>> for table where
Join<Left, Right, Kind>: JoinTo<table>,
Join<Left, Right, Kind>: JoinTo<table>,
type FromClause = Join<Left, Right, Kind>
type OnClause = <Join<Left, Right, Kind> as JoinTo<table>>::OnClause
fn join_target(
rhs: Join<Left, Right, Kind>
) -> (Self::FromClause, Self::OnClause)
rhs: Join<Left, Right, Kind>
) -> (Self::FromClause, Self::OnClause)
impl<Join, On> JoinTo<JoinOn<Join, On>> for table where
JoinOn<Join, On>: JoinTo<table>,
JoinOn<Join, On>: JoinTo<table>,
type FromClause = JoinOn<Join, On>
type OnClause = <JoinOn<Join, On> as JoinTo<table>>::OnClause
fn join_target(rhs: JoinOn<Join, On>) -> (Self::FromClause, Self::OnClause)
impl<F, S, D, W, O, L, Of, G> JoinTo<SelectStatement<F, S, D, W, O, L, Of, G>> for table where
SelectStatement<F, S, D, W, O, L, Of, G>: JoinTo<table>,
SelectStatement<F, S, D, W, O, L, Of, G>: JoinTo<table>,
type FromClause = SelectStatement<F, S, D, W, O, L, Of, G>
type OnClause = <SelectStatement<F, S, D, W, O, L, Of, G> as JoinTo<table>>::OnClause
fn join_target(
rhs: SelectStatement<F, S, D, W, O, L, Of, G>
) -> (Self::FromClause, Self::OnClause)
rhs: SelectStatement<F, S, D, W, O, L, Of, G>
) -> (Self::FromClause, Self::OnClause)
impl<'a, QS, ST, DB> JoinTo<BoxedSelectStatement<'a, QS, ST, DB>> for table where
BoxedSelectStatement<'a, QS, ST, DB>: JoinTo<table>,
BoxedSelectStatement<'a, QS, ST, DB>: JoinTo<table>,
type FromClause = BoxedSelectStatement<'a, QS, ST, DB>
type OnClause = <BoxedSelectStatement<'a, QS, ST, DB> as JoinTo<table>>::OnClause
fn join_target(
rhs: BoxedSelectStatement<'a, QS, ST, DB>
) -> (Self::FromClause, Self::OnClause)
rhs: BoxedSelectStatement<'a, QS, ST, DB>
) -> (Self::FromClause, Self::OnClause)