A simple database project written in JavaScript to parse and execute queries
This project is currently in development. It is not yet ready for use. Feel free to explore the code and contribute if you're interested.
Runs the application in the terminal.
Launches the Jest test runner for running automated tests. For more information about Jest, please refer to the official documentation
Formats the code using Prettier to ensure consistent code style and formatting.
SELECT columnOne, columnTwo FROM tableName
SELECT * FROM tableName
SELECT * FROM tableName where {"columnOne": value}
throw error if no table exists
INSERT {"a" : 10, "B" : 20} INTO table
Creates table if it does not exists
SELECT * FROM tableName WHERE {"columnOne": value}
DELETE FROM tableName WHERE {"columnOne": value}
-- Some comment here
You can add comments using the "--" syntax. Comments are ignored by the parser.