Skip to content

Latest commit

 

History

History
71 lines (50 loc) · 1.13 KB

README.md

File metadata and controls

71 lines (50 loc) · 1.13 KB

🐳 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