fdb-rs / fdb

FoundationDB client API for Tokio
https://fdb-rs.github.io/
Apache License 2.0
43 stars 2 forks source link

feat: introduce `into_stream` method #13

Closed rajivr closed 2 years ago

rajivr commented 2 years ago

Introduce into_stream method on a value of type Range.

It allows us to get a value of type FdbStreamKeyValue which we can iterate on and avoid KeySelector + get_range boilerplate code.

codecov-commenter commented 2 years ago

Codecov Report

Merging #13 (d8a7968) into main (8949319) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
+ Coverage   89.43%   89.44%   +0.01%     
==========================================
  Files          17       17              
  Lines        7655     7666      +11     
==========================================
+ Hits         6846     6857      +11     
  Misses        809      809              
Impacted Files Coverage Δ
fdb/src/range.rs 67.08% <100.00%> (+1.16%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8949319...d8a7968. Read the comment docs.