knex/lib/query/compiler/union.js

17 lines
356 B
JavaScript
Raw Normal View History

// A helper class for compiling union statements for the client.
var UnionCompiler = function(statement, formatter) {
this.statement = statement;
this.formatter = formatter;
};
UnionCompiler.prototype = {
constructor: UnionCompiler,
toString: function() {
return '[Object Knex:QueryCompiler:Union]';
},
};
module.exports = UnionCompiler;