A simple clone of sqlite.
TCP is the default mode, the host and port are configured with --port and --host flags
make POST request that contain SQL query to the server with Content-Type of text/plain
POST /
Content-Type: text/plain
CREATE TABLE info (id uint);
To run in repl mode run with the --repel flag.
exe --repel
- INSERT INTO table VALUES (value,value,...);
- INSERT INTO table (column,column,...) VALUES (value,value,...);
- CREATE TABLE table (column data_type);
- SELECT * FROM table;
- SELECT (column, column,...) FROM table;
- DELETE FROM table WHERE expr;
- DROP TABLE table;
- UPDATE table SET column=expr WHERE expr;
- string
- uint
- u64
- null