Skip to main content

InSubqueryLhs

Trait InSubqueryLhs 

Source
pub trait InSubqueryLhs<'a, V: SQLParam, M>: Sized {
    type SQLType: DataType;
    type Aggregate: AggregateKind;
    type Sources;

    // Required method
    fn into_lhs_sql(self) -> SQL<'a, V>;
}
Expand description

Left side of in_subquery and not_in_subquery.

Implemented for single expressions (users.id) and for tuples of expressions ((users.id, users.name)), which render as a row value. The marker M is inferred; callers never name it.

Required Associated Types§

Source

type SQLType: DataType

SQL type of the left side (a tuple of types for a row value).

Source

type Aggregate: AggregateKind

Aggregate kind of the left side.

Source

type Sources

Operand sources, with each element’s declared nullability.

Required Methods§

Source

fn into_lhs_sql(self) -> SQL<'a, V>

Renders the left side.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§