macro_rules! prepare_cached_and_bind {
    ($conn:expr, $sql:literal) => { ... };
}
Available on crate feature rusqlite-macros only.
Expand description

Captured identifiers in SQL

  • only SQLite $x / @x / :x syntax works (Rust &x syntax does not work).
  • $x.y expression does not work.