The main function of this crate is to use the Serialize
trait to automatically make the necessary calls to SQLBindCol
and SQLBindParameter
. It also supports binding of parameter and row sets, e.g. the following code performs a bulk insert:
```
struct Todo {
id: serdeodbc::Nullable
let stmt: serdeodbc::Statement
stmt.params().reserve(128); for todo in /* ... */ { stmt.params().push(todo); }
stmt.exec().unwrap(); ```