Struct tx_indexer::schema::sync_progress::columns::star
source · 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> for starwhere
<table as QuerySource>::FromClause: QueryFragment<DB>,
impl<DB: Backend> QueryFragment<DB> 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 star
impl<__GB> ValidGrouping<__GB> for star
§type IsAggregate = <(block_slot, block_hash, processed) as ValidGrouping<__GB>>::IsAggregate
type IsAggregate = <(block_slot, block_hash, processed) 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 Freeze for star
impl RefUnwindSafe for star
impl Send for star
impl Sync for star
impl Unpin for star
impl UnwindSafe for star
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
§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§impl<T> PgExpressionMethods for Twhere
T: Expression,
impl<T> PgExpressionMethods for Twhere
T: Expression,
§fn is_not_distinct_from<T>(
self,
other: T
) -> Grouped<IsNotDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn is_not_distinct_from<T>(
self,
other: T
) -> Grouped<IsNotDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Creates a PostgreSQL
IS NOT DISTINCT FROM
expression. Read more§fn is_distinct_from<T>(
self,
other: T
) -> Grouped<IsDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn is_distinct_from<T>(
self,
other: T
) -> Grouped<IsDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Creates a PostgreSQL
IS DISTINCT FROM
expression. Read more