mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 02:35:04 +08:00
Update README.md
This commit is contained in:
@@ -106,7 +106,7 @@ JoinType.Left,st.SchoolId==sc.Id
|
||||
### subquery
|
||||
```c
|
||||
var getAll = db.Queryable<Student, School>((st, sc) => new object[] {
|
||||
JoinType.Left,st.Id==sc.Id})
|
||||
JoinType.Left,st.Id==sc.Id})
|
||||
.Where(st => st.Id == SqlFunc.Subqueryable<School>().Where(s => s.Id == st.Id).Select(s => s.Id))
|
||||
.ToList();
|
||||
|
||||
|
Reference in New Issue
Block a user