Skip to main content

pi

Function pi 

Source
pub fn pi<'a, V>() -> SQLExpr<'a, V, <V::DialectMarker as DialectTypes>::Double, NonNull, Scalar>
Expand description

PI - returns the mathematical constant pi (PostgreSQL).

ยงExample

use drizzle_core::expr::pi;

// SELECT PI()
let pi_val = pi::<PostgresValue>();