Skip to main content

template

Function template 

Source
pub fn template(
    sql: impl Into<Cow<'static, str>>,
    args: impl IntoIterator<Item = RawArg>,
) -> Expr
Expand description

Raw SQL whose ? are rewritten to ?1, ?2, … with args interleaved. Write \? for a literal question mark.