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
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
The type that this expression represents in SQL
impl<DB: Backend> QueryFragment<DB> for star where <table as QuerySource>::FromClause: QueryFragment<DB>, | |
fn walk_ast(&self, out: AstPass<DB>) -> QueryResult<()> | |
Walk over this QueryFragment
for all passes. Read more
fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error> | |
Converts this QueryFragment
to its SQL representation. Read more
fn collect_binds( &self, out: &mut <DB as Backend>::BindCollector, metadata_lookup: &<DB as TypeMetadata>::MetadataLookup ) -> Result<(), Error> | |
Serializes all bind parameters in this query. Read more
Is this query safe to store in the prepared statement cache? Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
fn into_sql<T>(self) -> Self::Expression where Self: AsExpression<T>, | |
Convert self
to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where &'a Self: AsExpression<T>, | |
Convert &self
to an expression for Diesel's query builder. Read more
impl<T> NullableExpressionMethods for T where T: Expression, | |
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