mirror of
https://github.com/knex/knex.git
synced 2025-07-16 13:30:42 +00:00
19 lines
578 B
JavaScript
19 lines
578 B
JavaScript
'use strict';
|
|
|
|
var inherits = require('inherits');
|
|
var ColumnBuilder = require('../../../schema/columnbuilder');
|
|
var _ = require('lodash')
|
|
|
|
function ColumnBuilder_Oracle() {
|
|
ColumnBuilder.apply(this, arguments);
|
|
}
|
|
inherits(ColumnBuilder_Oracle, ColumnBuilder);
|
|
|
|
// checkIn added to the builder to allow the column compiler to change the
|
|
// order via the modifiers ("check" must be after "default")
|
|
ColumnBuilder_Oracle.prototype.checkIn = function () {
|
|
this._modifiers.checkIn = _.toArray(arguments);
|
|
return this;
|
|
};
|
|
|
|
module.exports = ColumnBuilder_Oracle |