sqlquerybuilder
Advanced tools
Comparing version 0.0.15 to 0.0.16
{ | ||
"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(){ |
166089
32
3571