pub fn and<'a, V, L, R>(
left: L,
right: R,
) -> SQLExpr<'a, V, <V::DialectMarker as DialectTypes>::Bool, <L::Nullable as NullOr<R::Nullable>>::Output, <L::Aggregate as AggOr<R::Aggregate>>::Output>where
V: SQLParam + 'a,
L: Expr<'a, V>,
L::SQLType: BooleanLike,
L::Nullable: NullOr<R::Nullable>,
L::Aggregate: AggOr<R::Aggregate>,
R: Expr<'a, V>,
R::SQLType: BooleanLike,
R::Nullable: Nullability,Expand description
Logical AND of two conditions.
use drizzle_core::expr::{and, eq, gt};
and(eq(users.active, true), gt(users.age, 18))