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

Commit 5fbc3a79 by Sean Hagstrom Committed by Simon Schick

docs(scopes): fix sql example for merging deleted projects and projects with active users (#10912)

1 parent 3003ed15
Showing with 1 additions and 0 deletions
...@@ -117,6 +117,7 @@ Project.scope(['deleted', 'activeUsers']).findAll(); ...@@ -117,6 +117,7 @@ Project.scope(['deleted', 'activeUsers']).findAll();
```sql ```sql
SELECT * FROM projects SELECT * FROM projects
INNER JOIN users ON projects.userId = users.id INNER JOIN users ON projects.userId = users.id
WHERE projects.deleted = true
AND users.active = true AND users.active = true
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!