knex/lib/dialects/mssql/query/joinclause.js

26 lines
758 B
JavaScript
Raw Normal View History

"use strict";
2015-12-08 11:37:31 -06:00
//
// // MSSQL Join Clause
// // ------
// var inherits = require('inherits')
// var JoinClause = require('../../../query/joinclause')
// var assign = require('lodash/object/assign');
//
// function JoinClause_MSSQL(table, type, schema) {
// JoinClause.call(this, table, type, schema)
// }
// inherits(JoinClause_MSSQL, JoinClause)
//
// assign(JoinClause_MSSQL.prototype, {
//
// // Adds a "using" clause to the current join.
// using: function(column) {
// return this.clauses.push([this._bool(), 'on', column, '=', column]);
// },
//
// })
//
// // Set the QueryBuilder & QueryCompiler on the client object,
// // incase anyone wants to modify things to suit their own purposes.
// module.exports = JoinClause_MSSQL;