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.15 to 0.0.16

lib/builder.js

4

package.json
{
"name": "sqlquerybuilder",
"version": "0.0.15",
"version": "0.0.16",
"description": "Highly opinionated Sql Server Query Writer, mostly for internal use.",
"main": "./lib/sqlQueryBuilder",
"main": "./lib/index",
"author": {

@@ -7,0 +7,0 @@ "name": "Caleb Briggs"

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

var sql = require('./lib/sqlQueryBuilder');
var sql = require('./lib/index');

@@ -8,0 +8,0 @@ var query =sql().select("Id, Number, Leases.Name")

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

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

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

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

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

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

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

var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;
var sqlBuilder = require('../../lib/index').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').queryBuilder;
var sqlBuilder = require('../../lib/index').queryBuilder;

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

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

var sqlQueryBuilder = require('../../lib/sqlQueryBuilder'),
var sqlQueryBuilder = require('../../lib/index'),
sqlBuilder = 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').queryBuilder;
var sqlBuilder = require('../../lib/index').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').queryBuilder;
var sqlBuilder = require('../../lib/index').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').queryBuilder;
var sqlBuilder = require('../../lib/index').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 sqlQueryBuilder = require('../../lib/sqlQueryBuilder'),
var sqlQueryBuilder = require('../../lib/index'),
sqlBuilder = sqlQueryBuilder.queryBuilder;

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

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

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

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

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

var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;
var sqlBuilder = require('../../lib/index').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').queryBuilder;
var sqlBuilder = require('../../lib/index').queryBuilder;

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

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

var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;
var sqlBuilder = require('../../lib/index').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').queryBuilder;
var sqlBuilder = require('../../lib/index').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').queryBuilder,
var sqlBuilder = require('../../lib/index').queryBuilder,
uuid = require('node-uuid');

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

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

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

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

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

var sqlBuilder = require('../../lib/sqlQueryBuilder').queryBuilder;
var sqlBuilder = require('../../lib/index').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