Comparing version 0.4.6 to 0.4.7
@@ -1,2 +0,2 @@ | ||
// Knex.js 0.4.6 | ||
// Knex.js 0.4.7 | ||
// -------------- | ||
@@ -94,3 +94,3 @@ | ||
// Keep in sync with package.json | ||
knex.VERSION = '0.4.6'; | ||
knex.VERSION = '0.4.7'; | ||
@@ -97,0 +97,0 @@ // Runs a new transaction, taking a container and returning a promise |
@@ -48,6 +48,8 @@ // Builder | ||
// Adds a column to the list of "columns" being selected | ||
// on the query. | ||
column: function(value) { | ||
this.columns.push(value); | ||
// Adds a column or columns to the list of "columns" | ||
// being selected on the query. | ||
column: function(columns) { | ||
if (columns) { | ||
push.apply(this.columns, _.isArray(columns) ? columns : _.toArray(arguments)); | ||
} | ||
return this; | ||
@@ -54,0 +56,0 @@ }, |
{ | ||
"name": "knex", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"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", |
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
220977
5769