mirror of
https://github.com/isar/rusqlite.git
synced 2024-10-23 23:21:09 +08:00
cc23f9cdd7
Initial draft
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);
|
|
}
|
|
*/ |