Skip to main content

boolean

Function boolean 

Source
pub fn boolean(value: bool) -> Expr
Expand description

Create a boolean literal expression.

ยงExamples

use sqlglot_rust::builder::boolean;

let t = boolean(true);
let f = boolean(false);