Update repository.md

This commit is contained in:
Pearl C 2023-01-21 16:19:45 +08:00 committed by GitHub
parent 05f69a79e5
commit a09aeb11a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ userRepository.find({
`filter` 参数支持按关联字段进行过滤,例如:
```javascript
// 查询 user 对象,其所关联的 posts 存在 title 为 'title1' 的对象
// 查询 user 对象,其所关联的 posts 存在 title 为 'post title' 的对象
userRepository.find({
filter: {
"posts.title": "post title"