mirror of
https://github.com/isar/rusqlite.git
synced 2025-07-12 12:14:44 +08:00
22 lines
314 B
Rust
22 lines
314 B
Rust
use rusqlite_macros::__bind;
|
|
|
|
#[test]
|
|
fn test_literal() {
|
|
let stmt = ();
|
|
__bind!(stmt, "SELECT $name");
|
|
}
|
|
|
|
/* FIXME
|
|
#[test]
|
|
fn test_raw_string() {
|
|
let stmt = ();
|
|
__bind!((), r#"SELECT 1"#);
|
|
}
|
|
|
|
#[test]
|
|
fn test_const() {
|
|
const SQL: &str = "SELECT 1";
|
|
let stmt = ();
|
|
__bind!((), SQL);
|
|
}
|
|
*/ |