Code Monkey home page Code Monkey logo

customdbjs's Introduction

customDBJS

A simple database project written in JavaScript to parse and execute queries

Project Status

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.

Scripts

npm start

Runs the application in the terminal.

npm test

Launches the Jest test runner for running automated tests. For more information about Jest, please refer to the official documentation

prettier . --write

Formats the code using Prettier to ensure consistent code style and formatting.

SELECT statement on table

SELECT columnOne, columnTwo FROM tableName
SELECT * FROM tableName
SELECT * FROM tableName where {"columnOne": value}

throw error if no table exists

INSERT a record in table

INSERT {"a" : 10, "B" : 20} INTO table

Creates table if it does not exists

WHERE clause

SELECT * FROM tableName WHERE {"columnOne": value}

DELETE a record in table

DELETE FROM tableName WHERE {"columnOne": value}

Add Comments

-- Some comment here

You can add comments using the "--" syntax. Comments are ignored by the parser.

customdbjs's People

Contributors

i-m-afk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.