Skip to main content

NO_PARAMS

Constant NO_PARAMS 

Source
pub const NO_PARAMS: &'static [&'static dyn ToSql];
👎Deprecated:

Use an empty array instead; stmt.execute(NO_PARAMS) => stmt.execute([])

Expand description

To be used when your statement has no parameter.

This is deprecated in favor of using an empty array literal.