Skip to content

Commit

Permalink
docs: add Introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
KKould committed Aug 1, 2024
1 parent 5176194 commit fc4363f
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions README.md
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

Expand Down Expand Up @@ -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),
})
);
}
}

Expand Down

0 comments on commit fc4363f

Please sign in to comment.