Struct rusqlite::types::Null [−][src]
pub struct Null;
Expand description
Empty struct that can be used to fill in a query parameter as NULL
.
Example
fn insert_null(conn: &Connection) -> Result<usize> {
conn.execute("INSERT INTO people (name) VALUES (?)", [Null])
}
Trait Implementations
Converts Rust value to SQLite value
Auto Trait Implementations
impl RefUnwindSafe for Null
impl UnwindSafe for Null
Blanket Implementations
Mutably borrows from an owned value. Read more