pub fn exists(statement: Statement, negated: bool) -> ExprExpand description
Create an EXISTS expression.
ยงExamples
use sqlglot_rust::builder::{exists, select};
let inner = select(&["1"]).from("users").where_clause("id = 1").build();
let check = exists(inner, false);