Comparing version 0.4.12 to 0.4.13
@@ -1,2 +0,2 @@ | ||
// Knex.js 0.4.12 | ||
// Knex.js 0.4.13 | ||
// -------------- | ||
@@ -3,0 +3,0 @@ |
@@ -80,4 +80,5 @@ // Builder | ||
var items = [ | ||
'joins', 'wheres', 'orders', 'columns', 'bindings', | ||
'grammar', 'transaction', 'unions', 'flags', 'type' | ||
'aggregate', 'joins', 'wheres', 'orders', | ||
'columns', 'bindings', 'grammar', 'transaction', | ||
'unions', 'flags', 'type' | ||
]; | ||
@@ -84,0 +85,0 @@ for (var i = 0, l = items.length; i < l; i++) { |
{ | ||
"name": "knex", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"description": "A query builder for Postgres, MySQL and SQLite3, designed to be flexible, portable, and fun to use.", | ||
@@ -5,0 +5,0 @@ "main": "knex.js", |
@@ -77,5 +77,4 @@ | ||
}); | ||
}; |
@@ -115,2 +115,11 @@ var _ = require('underscore'); | ||
it('should call toString correctly on count()', function() { | ||
var output = "select count(`id`) as aggregate from `users`"; | ||
expect(builder.from('users').count('id').toString()).to.equal(output); | ||
}); | ||
}); | ||
@@ -117,0 +126,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229983
75
5973