-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# MorselDB (WIP) | ||
|
||
MorselDB is an embedded persistent column-family database. Extreme performance, safety, and scalability — choose any three. | ||
## Introduction | ||
|
||
**MorselDB** is an embedded schema database based on **Arrow** & **Parquet**. Allow structured data to be **Filtered**, **Projected**, and **Stored** in **LSM** Tree. | ||
|
||
## Features | ||
|
||
|
@@ -88,21 +90,15 @@ async fn main() { | |
.take() | ||
.await | ||
.unwrap(); | ||
loop { | ||
let user = scan.next().await.transpose().unwrap(); | ||
match user { | ||
Some(entry) => { | ||
assert_eq!( | ||
entry.value(), | ||
Some(UserRef { | ||
name: "Alice", | ||
email: Some("[email protected]") | ||
age: Some(22), | ||
}) | ||
); | ||
} | ||
None => break, | ||
} | ||
while let Some(entry) = scan.next().await.transpose().unwrap() { | ||
assert_eq!( | ||
entry.value(), | ||
Some(UserRef { | ||
name: "Alice", | ||
email: Some("[email protected]"), | ||
age: Some(22), | ||
}) | ||
); | ||
} | ||
} | ||
|
||
|