objection
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -2009,3 +2009,6 @@ 'use strict'; | ||
function build(builder) { | ||
builder.table(builder._modelClass.tableName); | ||
if (!builder.has(/from|table|into/)) { | ||
// Set the table only if it hasn't been explicitly set yet. | ||
builder.table(builder._modelClass.tableName); | ||
} | ||
@@ -2012,0 +2015,0 @@ _.each(builder._hooks.onBuild, function (func) { |
{ | ||
"name": "objection", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "An SQL-friendly ORM for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "objection.js", |
@@ -871,2 +871,8 @@ [![Build Status](https://travis-ci.org/Vincit/objection.js.svg?branch=master)](https://travis-ci.org/Vincit/objection.js) [![Coverage Status](https://coveralls.io/repos/Vincit/objection.js/badge.svg?branch=master&service=github)](https://coveralls.io/github/Vincit/objection.js?branch=master) | ||
## 0.3.3 | ||
#### What's new | ||
* fix regression: QueryBuilder.from is broken. | ||
## 0.3.2 | ||
@@ -873,0 +879,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
300993
8768
988