mirror of
https://github.com/knex/knex.git
synced 2025-10-07 22:16:56 +00:00
17 lines
356 B
JavaScript
17 lines
356 B
JavaScript
// 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; |