lib/OFramework.js
function service(oodbc, _config) {

    if (_config === undefined) {
        throw new TypeError('Expected object for argument _config')
    }

    if (!(this instanceof Service)) {
        return new Service(oodbc, _config)
    }

    throw new TypeError('Expected object for argument _config');
}
function service(oodbc, _config) {

    if (_config === undefined) {
        throw new TypeError('Expected object for argument _config')
    }

    if (!(this instanceof Service)) {
        return new Service(oodbc, _config)
    }

    throw new TypeError('Expected object for argument _config');
}
function service ( oodbc , _config ) { if ( _config === undefined ) { throw new TypeError ( 'Expected object for argument _config' ) } if ( ! ( this instanceof Service ) ) { return new Service ( oodbc , _config ) } throw new TypeError ( 'Expected object for argument _config' ) ; }
常规SQL的方式
@param _config SQL的配置结构
@param oodbc 数据源
常规SQL的方式