mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-06-30 07:21:34 +00:00
Rename Blob to Binary
This commit is contained in:
@ -116,7 +116,7 @@ pub type Result<T> = std::result::Result<T, Error>;
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
pub enum Type {
|
||||
/// The binary type.
|
||||
Blob,
|
||||
Binary,
|
||||
/// The floating-point type (64-bit).
|
||||
Float,
|
||||
/// The integer type (64-bit, signed).
|
||||
|
@ -48,7 +48,7 @@ impl<'l> Statement<'l> {
|
||||
#[inline]
|
||||
pub fn kind(&self, i: usize) -> Type {
|
||||
match unsafe { ffi::sqlite3_column_type(self.raw.0, i as c_int) } {
|
||||
ffi::SQLITE_BLOB => Type::Blob,
|
||||
ffi::SQLITE_BLOB => Type::Binary,
|
||||
ffi::SQLITE_FLOAT => Type::Float,
|
||||
ffi::SQLITE_INTEGER => Type::Integer,
|
||||
ffi::SQLITE_NULL => Type::Null,
|
||||
|
Reference in New Issue
Block a user