dvrd / esquilait

sqlite clone in rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

codecrafters badge

Sqlite Clone in Rust 🦀

This project is meant to be a two pronged approach at learning Rust with an actual project, practicing actual CS by having to learn how to manipulate low level logic and applying some algorithms that my frontend carreer haven't really require me to do. Thanks to codecrafters Sqlite track for the guidance.

[DEPRECATED] - Turned it into a REPL example

Features 🏗️

  • .dbinfo
  • .tables
  • .schemas
  • base select queries
  • index search
  • Improve searching speeds
  • AND statements
  • Pretty printing of tables
  • Turn into simple REPL
  • Introduce table joins
  • Introduce alter tables
  • Add transactions

Run locally 🫡

If for some reason you are curious about this project, you can just try to play with it locally

cargo run
> load sample.db
> sql select * from apples
> sql select id, name from oranges
> .tables // Will show all the tables declared in your db first page
> .dbinfo // Will show you (incomplete) db info
> .schemas // Will print a debug of the tables columns

About

sqlite clone in rust


Languages

Language:Rust 99.4%Language:Shell 0.6%