Skip to content

Commit

Permalink
Merge pull request #1890 from eerenyuan/patch-1
Browse files Browse the repository at this point in the history
change hasOne's doc
  • Loading branch information
ricardograca committed Sep 13, 2018
2 parents fc89cb6 + 4af0553 commit b6abda9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ const BookshelfModel = ModelBase.extend({
*
* @param {string=} foreignKeyTarget
*
* Column in the `Target` model's table which `foreignKey` references, if other
* than `Target` model's `id` / `{@link Model#idAttribute idAttribute}`.
* Column in this model's table which `foreignKey` references, if other
* than this model's `id` / `{@link Model#idAttribute idAttribute}`.
*
* @returns {Model}
*
Expand Down Expand Up @@ -145,8 +145,8 @@ const BookshelfModel = ModelBase.extend({
*
* @param {string=} foreignKeyTarget
*
* Column in the `Target` model's table which `foreignKey` references, if other
* than `Target` model's `id` / `{@link Model#idAttribute idAttribute}`.
* Column in this model's table which `foreignKey` references, if other
* than this model's `id` / `{@link Model#idAttribute idAttribute}`.
*
* @returns {Collection}
*/
Expand Down

0 comments on commit b6abda9

Please sign in to comment.