Skip to content

PandaSekh/dibbi

Repository files navigation

🐳 dibbi

Build Go Reference

In-memory non-persistent relational database.

Examples

Create Table

CREATE TABLE users
(
  age  int,
  name text
);

Insert

INSERT INTO users
VALUES (24, 'Alessio');

Select

SELECT age
from users;

Select All

SELECT *
from users;

Run

go run main.go

Test

go test -v ./...

Features

  • SELECT
  • CREATE TABLE
    • int
    • text
    • bool
  • INSERT
  • SELECT * to get all Columns

TODO

  • Insert with column specification
  • WHERE clause
  • More column types (uuid, date)
  • Automatic uuid on insertion, if specified during CREATE TABLE
  • default values
  • Support float

Resources

About

🐳 In-memory non-persistent relational database.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages