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

Commit 705b7014 by Jan Aagaard Meier

Added @since tags to sequelize.and etc.

1 parent d7be58fd
Showing with 7 additions and 0 deletions
......@@ -666,6 +666,7 @@ module.exports = (function() {
* @method fn
* @param {String} fn The function you want to call
* @param {any} args All further arguments will be passed as arguments to the function
* @since v2.0.0-dev3
* @return {Sequelize.fn}
*/
Sequelize.fn = Sequelize.prototype.fn = function (fn) {
......@@ -678,6 +679,7 @@ module.exports = (function() {
*
* @method col
* @param {String} col The name of the column
* @since v2.0.0-dev3
* @return {Sequelize.col}
*/
Sequelize.col = Sequelize.prototype.col = function (col) {
......@@ -691,6 +693,7 @@ module.exports = (function() {
* @method cast
* @param {any} val The value to cast
* @param {String} type The type to cast it to
* @since v2.0.0-dev3
* @return {Sequelize.cast}
*/
Sequelize.cast = Sequelize.prototype.cast = function (val, type) {
......@@ -703,6 +706,7 @@ module.exports = (function() {
* @method literal
* @param {any} val
* @alias asIs
* @since v2.0.0-dev3
* @return {Sequelize.literal}
*/
Sequelize.literal = Sequelize.prototype.literal = function (val) {
......@@ -719,6 +723,7 @@ module.exports = (function() {
*
* @method and
* @param {String|Object} args Each argument will be joined by AND
* @since v2.0.0-dev3
* @return {Sequelize.and}
*/
Sequelize.and = Sequelize.prototype.and = function() {
......@@ -731,6 +736,7 @@ module.exports = (function() {
*
* @method or
* @param {String|Object} args Each argument will be joined by OR
* @since v2.0.0-dev3
* @return {Sequelize.or}
*/
Sequelize.or = Sequelize.prototype.or = function() {
......@@ -745,6 +751,7 @@ module.exports = (function() {
* @param {String|Object} condition The condition. Can be both a simply type, or a further condition (`.or`, `.and`, `.literal` etc.)
* @method where
* @alias condition
* @since v2.0.0-dev3
* @return {Sequelize.where}
*/
Sequelize.where = Sequelize.prototype.where = function() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!