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

Commit 785383e0 by Caíque de Castro Soares da Silva Committed by Sushant

fix(model/findAndCount): no need to check count, its already zero (#8225)

1 parent 9a527834
Showing with 1 additions and 1 deletions
......@@ -1847,7 +1847,7 @@ class Model {
return countQuery.then(count => {
if (count === 0) {
return {
count: count || 0,
count: 0,
rows: []
};
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!