pub struct star;
Expand description
Represents table_name.*
, which is sometimes needed for
efficient count queries. It cannot be used in place of
all_columns
, and has a SqlType
of ()
to prevent it
being used that way
Trait Implementations§
source§impl<DB: Backend> QueryFragment<DB, NotSpecialized> for starwhere
<table as QuerySource>::FromClause: QueryFragment<DB>,
impl<DB: Backend> QueryFragment<DB, NotSpecialized> for starwhere
<table as QuerySource>::FromClause: QueryFragment<DB>,
source§impl QueryId for star
impl QueryId for star
source§const HAS_STATIC_QUERY_ID: bool = true
const HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by
Self
be uniquely identified by its type? Read moresource§impl<__GB> ValidGrouping<__GB> for starwhere
(email, ouath_id, is_teacher, is_student, is_admin, teams, class, first_name, last_name): ValidGrouping<__GB>,
impl<__GB> ValidGrouping<__GB> for starwhere
(email, ouath_id, is_teacher, is_student, is_admin, teams, class, first_name, last_name): ValidGrouping<__GB>,
§type IsAggregate = <(email, ouath_id, is_teacher, is_student, is_admin, teams, class, first_name, last_name) as ValidGrouping<__GB>>::IsAggregate
type IsAggregate = <(email, ouath_id, is_teacher, is_student, is_admin, teams, class, first_name, last_name) as ValidGrouping<__GB>>::IsAggregate
Is this expression aggregate? Read more
impl AppearsOnTable<table> for star
impl Copy for star
impl SelectableExpression<table> for star
Auto Trait Implementations§
impl RefUnwindSafe for star
impl Send for star
impl Sync for star
impl Unpin for star
impl UnwindSafe for star
Blanket Implementations§
§impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB, NotSpecialized> + QueryId,
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB, NotSpecialized> + QueryId,
§impl<T> IntoSql for T
impl<T> IntoSql for T
§impl<T> NullableExpressionMethods for Twhere
T: Expression,
impl<T> NullableExpressionMethods for Twhere
T: Expression,
§fn nullable(self) -> Nullable<Self>
fn nullable(self) -> Nullable<Self>
Converts this potentially non-null expression into one which is treated
as nullable. This method has no impact on the generated SQL, and is only
used to allow certain comparisons that would otherwise fail to compile. Read more
§fn assume_not_null(self) -> AssumeNotNull<Self>
fn assume_not_null(self) -> AssumeNotNull<Self>
Converts this potentially nullable expression into one which will be assumed
to be not-null. This method has no impact on the generated SQL, however it will
enable you to attempt deserialization of the returned value in a non-
Option
. Read more