不要怂,就是干,撸起袖子干!

Commit 8df9b8f3 by Pedro Augusto de Paula Barbosa Committed by Sushant

docs(model): fix typo (#10405)

1 parent d38c7cc0
...@@ -808,7 +808,7 @@ class Model { ...@@ -808,7 +808,7 @@ class Model {
/** /**
* Initialize a model, representing a table in the DB, with attributes and options. * Initialize a model, representing a table in the DB, with attributes and options.
* *
* The table columns are define by the hash that is given as the first argument. * The table columns are defined by the hash that is given as the first argument.
* Each attribute of the hash represents a column. * Each attribute of the hash represents a column.
* *
* For more about <a href="/manual/tutorial/models-definition.html#validations"/>Validations</a> * For more about <a href="/manual/tutorial/models-definition.html#validations"/>Validations</a>
......
...@@ -1400,7 +1400,7 @@ export abstract class Model<T = any, T2 = any> extends Hooks { ...@@ -1400,7 +1400,7 @@ export abstract class Model<T = any, T2 = any> extends Hooks {
/** /**
* Initialize a model, representing a table in the DB, with attributes and options. * Initialize a model, representing a table in the DB, with attributes and options.
* *
* The table columns are define by the hash that is given as the second argument. Each attribute of the hash represents a column. A short table definition might look like this: * The table columns are defined by the hash that is given as the second argument. Each attribute of the hash represents a column. A short table definition might look like this:
* *
* ```js * ```js
* Project.init({ * Project.init({
......
...@@ -939,7 +939,7 @@ export class Sequelize extends Hooks { ...@@ -939,7 +939,7 @@ export class Sequelize extends Hooks {
/** /**
* Define a new model, representing a table in the DB. * Define a new model, representing a table in the DB.
* *
* The table columns are define by the hash that is given as the second argument. Each attribute of the * The table columns are defined by the hash that is given as the second argument. Each attribute of the
* hash * hash
* represents a column. A short table definition might look like this: * represents a column. A short table definition might look like this:
* *
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!