mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-04-25 08:42:14 +00:00
Adjust the documentation
This commit is contained in:
parent
4973bbc397
commit
ac615887f7
@ -33,8 +33,8 @@ connection
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
```
|
```
|
||||||
|
|
||||||
The same query using a prepared statement, which is much more efficient than
|
The same query using a prepared statement, which is much more efficient than the
|
||||||
the previous technique:
|
previous technique:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use sqlite::State;
|
use sqlite::State;
|
||||||
@ -51,8 +51,8 @@ while let State::Row = statement.next().unwrap() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
The same query using a cursor, which is a wrapper around a prepared
|
The same query using a cursor, which is a wrapper around a prepared statement
|
||||||
statement providing the concept of row and featuring all-at-once binding:
|
providing the notion of row and featuring all-at-once binding:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use sqlite::Value;
|
use sqlite::Value;
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! The same query using a cursor, which is a wrapper around a prepared
|
//! The same query using a cursor, which is a wrapper around a prepared
|
||||||
//! statement providing the concept of row and featuring all-at-once binding:
|
//! statement providing the notion of row and featuring all-at-once binding:
|
||||||
//!
|
//!
|
||||||
//! ```
|
//! ```
|
||||||
//! use sqlite::Value;
|
//! use sqlite::Value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user