lib/relations/has_one.js
function() {
    this._super.apply(this, arguments);

    if (this._options.through) {
      this._options.through = inflection.singularize(this._options.through);
    }
  }
function() {
    this._super.apply(this, arguments);

    if (this._options.through) {
      this._options.through = inflection.singularize(this._options.through);
    }
  }
function ( ) { this . _super . apply ( this , arguments ) ; if ( this . _options . through ) { this . _options . through = inflection . singularize ( this . _options . through ) ; } }
Create a HasOne relation.

@protected
@constructor HasOne
@see {@link Database#hasOne}
Create a HasOne relation .