pub trait ToSql {
// Required method
fn to_sql(&self, s: &mut PreparedStatement, ix: ParamIx) -> SqliteResult<()>;
}
Expand description
Values that can be bound to parameters in prepared statements.
Required Methods§
Sourcefn to_sql(&self, s: &mut PreparedStatement, ix: ParamIx) -> SqliteResult<()>
fn to_sql(&self, s: &mut PreparedStatement, ix: ParamIx) -> SqliteResult<()>
Bind the ix
th parameter to this value (self
).