mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-04-22 15:42:14 +00:00
Adjust a description
This commit is contained in:
parent
ec7ce0c27c
commit
fa17cd620e
@ -57,7 +57,7 @@ impl<'l> Statement<'l> {
|
|||||||
|
|
||||||
/// Return the type of a column.
|
/// Return the type of a column.
|
||||||
///
|
///
|
||||||
/// The type is revealed after the first step has been taken.
|
/// The type becomes available after taking a step.
|
||||||
pub fn kind(&self, i: usize) -> Type {
|
pub fn kind(&self, i: usize) -> Type {
|
||||||
debug_assert!(i < self.count(), "the index is out of range");
|
debug_assert!(i < self.count(), "the index is out of range");
|
||||||
match unsafe { ffi::sqlite3_column_type(self.raw.0, i as c_int) } {
|
match unsafe { ffi::sqlite3_column_type(self.raw.0, i as c_int) } {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user