In-memory non-persistent relational database.
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;
go run main.go
go test -v ./...
SELECT
- CREATE TABLE
- int
- text
- bool
- INSERT
SELECT *
to get all Columns
- Insert with column specification
WHERE
clause- More column types (uuid, date)
- Automatic uuid on insertion, if specified during
CREATE TABLE
- default values
- Support float
- Idea and tutorial followed for the beginning: database basics.
- Writing an interpreter in go