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

Commit 4186f057 by Mentor Palokaj Committed by Sushant

Grammar fix and more explanation of sequelize.col (#7460)

1 parent 9089c3c9
Showing with 4 additions and 4 deletions
...@@ -786,7 +786,7 @@ class Sequelize { ...@@ -786,7 +786,7 @@ class Sequelize {
} }
/** /**
* Creates a object representing a database function. This can be used in search queries, both in where and order parts, and as default values in column definitions. * Creates an object representing a database function. This can be used in search queries, both in where and order parts, and as default values in column definitions.
* If you want to refer to columns in your function, you should use `sequelize.col`, so that the columns are properly interpreted as columns and not a strings. * If you want to refer to columns in your function, you should use `sequelize.col`, so that the columns are properly interpreted as columns and not a strings.
* *
* Convert a user's username to upper case * Convert a user's username to upper case
...@@ -813,7 +813,7 @@ class Sequelize { ...@@ -813,7 +813,7 @@ class Sequelize {
} }
/** /**
* Creates a object representing a column in the DB. This is often useful in conjunction with `sequelize.fn`, since raw string arguments to fn will be escaped. * Creates an object which represents a column in the DB, this allows referencing another column in your query. This is often useful in conjunction with `sequelize.fn`, since raw string arguments to fn will be escaped.
* @see {@link Sequelize#fn} * @see {@link Sequelize#fn}
* *
* @method col * @method col
...@@ -827,7 +827,7 @@ class Sequelize { ...@@ -827,7 +827,7 @@ class Sequelize {
} }
/** /**
* Creates a object representing a call to the cast function. * Creates an object representing a call to the cast function.
* *
* @method cast * @method cast
* @param {any} val The value to cast * @param {any} val The value to cast
...@@ -841,7 +841,7 @@ class Sequelize { ...@@ -841,7 +841,7 @@ class Sequelize {
} }
/** /**
* Creates a object representing a literal, i.e. something that will not be escaped. * Creates an object representing a literal, i.e. something that will not be escaped.
* *
* @method literal * @method literal
* @param {any} val * @param {any} val
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!