Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sqlquerybuilder

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqlquerybuilder - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

14

lib/sqlQueryBuilder.js
var uuid = require('node-uuid'), pluralizer = require('pluralizer');
var options = {};
exports.queryBuilder = function () {
return new QueryBuilder();
};
exports.init = function(opt) {
options = opt || {};
};
function QueryBuilder() {

@@ -767,5 +777,1 @@ var self = this;

}
module.exports = function () {
return new QueryBuilder();
};
{
"name": "sqlquerybuilder",
"version": "0.0.8",
"version": "0.0.9",
"description": "Highly opinionated Sql Server Query Writer, mostly for internal use.",

@@ -5,0 +5,0 @@ "main": "./lib/sqlQueryBuilder",

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("chaining queries should work", function(){

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder'),
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder,
uuid = require('node-uuid');

@@ -8,0 +8,0 @@

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("when calling DISTINCT, valid sql should be produced when", function(){

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("when calling FROM, valid sql should be produced when", function(){

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("when calling GROUP BY, valid sql should be produced when", function(){

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("when calling INSERT INTO, valid sql should be produced when", function(){

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("when calling JOIN, valid sql should be produced when", function(){

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("when calling JOINSUBQUERY, valid sql should be produced when", function(){

/**
* These tests are verifying functionality for the Aggregate Service and the Value Object Service
*/
var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -6,0 +6,0 @@

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("when calling ORDER BY, valid sql should be produced when", function(){

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("when calling PAGE, valid sql should be produced when", function(){

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("private function", function(){

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("when calling processListRequest, valid sql should be produced when", function(){

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe("when replicating real queries from fieldbook", function(){

/**
* Created by calebbriggs on 8/25/2014.
*/
var sqlBuilder = require('../../lib/sqlQueryBuilder'),
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder,
uuid = require('node-uuid');

@@ -6,0 +6,0 @@

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder'),
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder,
uuid = require('node-uuid');

@@ -8,0 +8,0 @@

@@ -5,3 +5,3 @@ /**

var sqlBuilder = require('../../lib/sqlQueryBuilder');
var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;

@@ -8,0 +8,0 @@ describe('When calling WHERE, valid sql should be produced when', function(){

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc