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

Commit 50c27c69 by Jorrit Schippers Committed by Sushant

docs(querying): improve random order comment (#8869)

1 parent 1fff80fd
Showing with 1 additions and 1 deletions
...@@ -464,7 +464,7 @@ Subtask.findAll({ ...@@ -464,7 +464,7 @@ Subtask.findAll({
// Will order by age ascending assuming ascending is the default order when direction is omitted // Will order by age ascending assuming ascending is the default order when direction is omitted
order: sequelize.col('age') order: sequelize.col('age')
// Will order by age randomly based on the dialect (instead of fn('RAND') or fn('RANDOM')) // Will order randomly based on the dialect (instead of fn('RAND') or fn('RANDOM'))
order: sequelize.random() order: sequelize.random()
}) })
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!