MCPcopy Create free account
hub / github.com/douglance/devsql / rows_to_iter

Function rows_to_iter

crates/ccql/src/sql/composite_storage.rs:512–515  ·  view source on GitHub ↗

Convert a vector of rows to a RowIter (pinned boxed stream)

(rows: Vec<(Key, DataRow)>)

Source from the content-addressed store, hash-verified

510
511/// Convert a vector of rows to a RowIter (pinned boxed stream)
512fn rows_to_iter(rows: Vec<(Key, DataRow)>) -> RowIter<'static> {
513 let stream = stream::iter(rows.into_iter().map(Ok));
514 Box::pin(stream)
515}
516
517// Implement the Store trait
518#[async_trait]

Callers 1

scan_dataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected