knex/lib/dialects/oracle/formatter.js

18 lines
406 B
JavaScript
Raw Normal View History

var inherits = require('inherits')
var Formatter = require('../../formatter')
var assign = require('lodash/object/assign')
function Oracle_Formatter(client) {
Formatter.call(this, client)
2014-08-11 12:25:39 +02:00
}
inherits(Oracle_Formatter, Formatter)
2014-08-11 12:25:39 +02:00
assign(Oracle_Formatter.prototype, {
2014-08-11 12:25:39 +02:00
alias: function(first, second) {
2014-08-11 12:25:39 +02:00
return this.wrap(first) + ' ' + this.wrap(second);
}
})
2014-08-11 12:25:39 +02:00
module.exports = Oracle_Formatter