mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-03-15 06:20:50 +00:00
Adjust the documentation
This commit is contained in:
parent
d89cc13d7b
commit
abfb603cd2
@ -60,8 +60,7 @@ impl Connection {
|
||||
::statement::new(self.raw, statement)
|
||||
}
|
||||
|
||||
/// Create a reusable iterator over the resulting rows of a prepared
|
||||
/// statement.
|
||||
/// Create an iterator over the resulting rows of a prepared statement.
|
||||
#[inline]
|
||||
pub fn iterate<'l, T: AsRef<str>>(&'l self, statement: T) -> Result<Iterator<'l>> {
|
||||
::iterator::new(try!(::statement::new(self.raw, statement)))
|
||||
|
@ -1,7 +1,7 @@
|
||||
use statement::{State, Statement, Bindable, Readable};
|
||||
use {Result, Value};
|
||||
|
||||
/// A reusable iterator over the results of a prepared statement.
|
||||
/// An iterator over the results of a prepared statement.
|
||||
pub struct Iterator<'l> {
|
||||
state: Option<State>,
|
||||
values: Option<Vec<Value>>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user