mirror of
https://github.com/knex/knex.git
synced 2026-01-03 10:38:37 +00:00
release 0.6.4
This commit is contained in:
parent
f2b59a2617
commit
567f7cba7b
@ -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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.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(_dereq_,module,exports){
|
||||
// Knex.js 0.6.2
|
||||
// Knex.js 0.6.4
|
||||
// --------------
|
||||
|
||||
// (c) 2014 Tim Griesser
|
||||
@ -79,7 +79,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.6.2';
|
||||
knex.VERSION = knex.__knex__ = '0.6.4';
|
||||
knex.raw = function(sql, bindings) {
|
||||
var raw = new client.Raw(sql, bindings);
|
||||
raw.on('query', function(data) {
|
||||
@ -4996,6 +4996,9 @@ SchemaCompiler.prototype.toSQL = function() {
|
||||
}
|
||||
return this.sequence;
|
||||
};
|
||||
SchemaCompiler.prototype.raw = function(sql, bindings) {
|
||||
this.sequence.push(new this.client.Raw(sql, bindings).toSQL());
|
||||
};
|
||||
|
||||
module.exports = SchemaCompiler;
|
||||
},{}],62:[function(_dereq_,module,exports){
|
||||
@ -5051,7 +5054,7 @@ module.exports = {
|
||||
};
|
||||
},{"./builder":58,"./columnbuilder":59,"./columncompiler":60,"./compiler":61,"./tablebuilder":64,"./tablecompiler":65,"lodash":"K2RcUv"}],63:[function(_dereq_,module,exports){
|
||||
module.exports = ['table', 'createTable', 'editTable', 'dropTable',
|
||||
'dropTableIfExists', 'renameTable', 'hasTable', 'hasColumn'];
|
||||
'dropTableIfExists', 'renameTable', 'hasTable', 'hasColumn', 'raw'];
|
||||
},{}],64:[function(_dereq_,module,exports){
|
||||
// TableBuilder
|
||||
|
||||
|
||||
@ -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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.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(_dereq_,module,exports){
|
||||
// Knex.js 0.6.2
|
||||
// Knex.js 0.6.4
|
||||
// --------------
|
||||
|
||||
// (c) 2014 Tim Griesser
|
||||
@ -79,7 +79,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.6.2';
|
||||
knex.VERSION = knex.__knex__ = '0.6.4';
|
||||
knex.raw = function(sql, bindings) {
|
||||
var raw = new client.Raw(sql, bindings);
|
||||
raw.on('query', function(data) {
|
||||
@ -3382,6 +3382,9 @@ SchemaCompiler.prototype.toSQL = function() {
|
||||
}
|
||||
return this.sequence;
|
||||
};
|
||||
SchemaCompiler.prototype.raw = function(sql, bindings) {
|
||||
this.sequence.push(new this.client.Raw(sql, bindings).toSQL());
|
||||
};
|
||||
|
||||
module.exports = SchemaCompiler;
|
||||
},{}],35:[function(_dereq_,module,exports){
|
||||
@ -3437,7 +3440,7 @@ module.exports = {
|
||||
};
|
||||
},{"./builder":31,"./columnbuilder":32,"./columncompiler":33,"./compiler":34,"./tablebuilder":37,"./tablecompiler":38,"lodash":"K2RcUv"}],36:[function(_dereq_,module,exports){
|
||||
module.exports = ['table', 'createTable', 'editTable', 'dropTable',
|
||||
'dropTableIfExists', 'renameTable', 'hasTable', 'hasColumn'];
|
||||
'dropTableIfExists', 'renameTable', 'hasTable', 'hasColumn', 'raw'];
|
||||
},{}],37:[function(_dereq_,module,exports){
|
||||
// TableBuilder
|
||||
|
||||
|
||||
@ -127,4 +127,4 @@ gulp.task('release', function() {
|
||||
'git checkout master'
|
||||
])();
|
||||
});
|
||||
});
|
||||
});
|
||||
11
index.html
11
index.html
@ -32,7 +32,7 @@
|
||||
<div id="sidebar" class="interface">
|
||||
|
||||
<a class="toc_title" href="#">
|
||||
Knex.js <span class="version">(0.6.3)</span>
|
||||
Knex.js <span class="version">(0.6.4)</span>
|
||||
</a>
|
||||
<ul class="toc_section">
|
||||
<li>» <a href="https://github.com/tgriesser/knex">GitHub Repository</a></li>
|
||||
@ -295,7 +295,7 @@
|
||||
</p>
|
||||
|
||||
|
||||
<h2>Latest Release: 0.6.3 - <span class="small"><a href="#changelog">Change Log</a></span></h2>
|
||||
<h2>Latest Release: 0.6.4 - <span class="small"><a href="#changelog">Change Log</a></span></h2>
|
||||
|
||||
<p>
|
||||
Current Develop —
|
||||
@ -2180,6 +2180,11 @@ $ npm test
|
||||
|
||||
<h2 id="changelog">Change Log</h2>
|
||||
|
||||
<p>
|
||||
<b class="header">0.6.4</b> — <small><i>June 9, 2014</i></small><br />
|
||||
Fix & document <a href="#Schema-raw">schema.raw</a> method.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b class="header">0.6.3</b> — <small><i>June 6, 2014</i></small><br />
|
||||
<ul>
|
||||
@ -2603,4 +2608,4 @@ $ npm test
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
4
knex.js
4
knex.js
@ -1,4 +1,4 @@
|
||||
// Knex.js 0.6.3
|
||||
// Knex.js 0.6.4
|
||||
// --------------
|
||||
|
||||
// (c) 2014 Tim Griesser
|
||||
@ -78,7 +78,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.6.3';
|
||||
knex.VERSION = knex.__knex__ = '0.6.4';
|
||||
knex.raw = function(sql, bindings) {
|
||||
var raw = new client.Raw(sql, bindings);
|
||||
raw.on('query', function(data) {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "knex",
|
||||
"version": "0.6.3",
|
||||
"version": "0.6.4",
|
||||
"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