mirror of
https://github.com/knex/knex.git
synced 2025-10-10 07:26:39 +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;
|