Socket
Socket
Sign inDemoInstall

knex

Package Overview
Dependencies
3
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.6 to 0.4.7

4

knex.js

@@ -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",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc