Skip to content

Rushabhshroff/sql-easy-query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sql-easy-query

A plugin to make quering more easy and comfortable.

Installation

npm install sql-easy-query --save

Usage

var Query = require('sql-easy-query');
function Insert(){
  let user = {
    name:'SomeName',
    age:21,
  }
  let query = new Query().Insert("Users", user).query;
}
function CreateDatase(){
  let query = new Query().CreateDatabase('Name').query;
}
function CreateTable(){
  let Scheme = {
    id:'INT(32) NOT NULL PRIMARY AUTO_INCREMENT'
    name:'VARCHAR(255) NOT NULL',
    age:'INT(32)'
  }
  let query = new Query().CreateTable('TableName',Scheme).query;
}

About

A plugin to make quering more easy and comfortable.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published