Eliminate Binding; introduce Parameter

This commit is contained in:
Ivan Ukhov
2015-06-19 11:31:29 -04:00
parent 56c36f7ddc
commit 7441967fbc
3 changed files with 69 additions and 42 deletions

View File

@ -90,10 +90,10 @@ mod statement;
pub use database::Database;
pub use error::{Error, ErrorKind};
pub use statement::{Statement, Binding, Value, State};
pub use statement::{Statement, State, Parameter, Value};
/// A result.
pub type Result<T> = ::std::result::Result<T, Error>;
pub type Result<T> = std::result::Result<T, Error>;
/// Open a connection to a new or existing database.
#[inline]