bfc474e4d8
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
10 lines
254 B
Rust
10 lines
254 B
Rust
use super::Key;
|
|
use super::Val;
|
|
use std::ops::Range;
|
|
|
|
/// A batch scan result returned from the [`Transaction::batch`] or [`Transactor::batch`] functions.
|
|
#[derive(Debug)]
|
|
pub struct Batch {
|
|
pub next: Option<Range<Key>>,
|
|
pub values: Vec<(Key, Val)>,
|
|
}
|