mirror of
https://github.com/knex/knex.git
synced 2026-01-05 19:47:55 +00:00
release 0.7.2
This commit is contained in:
parent
239f906450
commit
875f0a6e59
@ -1,5 +1,5 @@
|
||||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Knex=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
||||
// Knex.js 0.7.1
|
||||
// Knex.js 0.7.2
|
||||
// --------------
|
||||
|
||||
'use strict';
|
||||
@ -76,7 +76,7 @@ Knex.initialize = function(config) {
|
||||
|
||||
// The `__knex__` is used if you need to duck-type check whether this
|
||||
// is a knex builder, without a full on `instanceof` check.
|
||||
knex.VERSION = knex.__knex__ = '0.7.1';
|
||||
knex.VERSION = knex.__knex__ = '0.7.2';
|
||||
knex.raw = function(sql, bindings) {
|
||||
var raw = new client.Raw(sql, bindings);
|
||||
if (config.__transactor__) raw.transacting(config.__transactor__);
|
||||
@ -585,10 +585,10 @@ Client_MySQL.prototype.acquireRawConnection = function() {
|
||||
var client = this;
|
||||
var connection = mysql.createConnection(this.connectionSettings);
|
||||
return new Promise(function(resolver, rejecter) {
|
||||
connection.on('error', connectionErrorHandler.bind(null, client, connection));
|
||||
connection.on('end', connectionErrorHandler.bind(null, client, connection));
|
||||
connection.connect(function(err) {
|
||||
if (err) return rejecter(err);
|
||||
connection.on('error', connectionErrorHandler.bind(null, client, connection));
|
||||
connection.on('end', connectionErrorHandler.bind(null, client, connection));
|
||||
resolver(connection);
|
||||
});
|
||||
});
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Knex=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
||||
// Knex.js 0.7.1
|
||||
// Knex.js 0.7.2
|
||||
// --------------
|
||||
|
||||
'use strict';
|
||||
@ -76,7 +76,7 @@ Knex.initialize = function(config) {
|
||||
|
||||
// The `__knex__` is used if you need to duck-type check whether this
|
||||
// is a knex builder, without a full on `instanceof` check.
|
||||
knex.VERSION = knex.__knex__ = '0.7.1';
|
||||
knex.VERSION = knex.__knex__ = '0.7.2';
|
||||
knex.raw = function(sql, bindings) {
|
||||
var raw = new client.Raw(sql, bindings);
|
||||
if (config.__transactor__) raw.transacting(config.__transactor__);
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
<div id="sidebar" class="interface">
|
||||
|
||||
<a class="toc_title" href="#">
|
||||
Knex.js <span class="version">(0.7.1)</span>
|
||||
Knex.js <span class="version">(0.7.2)</span>
|
||||
</a>
|
||||
<ul class="toc_section">
|
||||
<li>» <a href="https://github.com/tgriesser/knex">GitHub Repository</a></li>
|
||||
@ -308,7 +308,7 @@
|
||||
</p>
|
||||
|
||||
|
||||
<h2>Latest Release: 0.7.1 - <span class="small"><a href="#changelog">Change Log</a></span></h2>
|
||||
<h2>Latest Release: 0.7.2 - <span class="small"><a href="#changelog">Change Log</a></span></h2>
|
||||
|
||||
<p>
|
||||
Current Develop —
|
||||
@ -2382,7 +2382,7 @@ $ npm test
|
||||
<h2 id="changelog">Change Log</h2>
|
||||
|
||||
<p>
|
||||
<b class="header">0.7.1</b> — <small><i>Oct 1, 2014</i></small><br />
|
||||
<b class="header">0.7.1 & 0.7.2</b> — <small><i>Oct 1, 2014</i></small><br />
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
|
||||
4
knex.js
4
knex.js
@ -1,4 +1,4 @@
|
||||
// Knex.js 0.7.1
|
||||
// Knex.js 0.7.2
|
||||
// --------------
|
||||
|
||||
'use strict';
|
||||
@ -75,7 +75,7 @@ Knex.initialize = function(config) {
|
||||
|
||||
// The `__knex__` is used if you need to duck-type check whether this
|
||||
// is a knex builder, without a full on `instanceof` check.
|
||||
knex.VERSION = knex.__knex__ = '0.7.1';
|
||||
knex.VERSION = knex.__knex__ = '0.7.2';
|
||||
knex.raw = function(sql, bindings) {
|
||||
var raw = new client.Raw(sql, bindings);
|
||||
if (config.__transactor__) raw.transacting(config.__transactor__);
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "knex",
|
||||
"version": "0.7.1",
|
||||
"version": "0.7.2",
|
||||
"description": "A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser",
|
||||
"main": "knex.js",
|
||||
"directories": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user