mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-05 16:00:52 +08:00
update
2
多表查询.md
2
多表查询.md
@@ -119,7 +119,7 @@ fsql.Select<Topic>().ToList(a => new {
|
|||||||
id = a.Id,
|
id = a.Id,
|
||||||
concat = string.Join(",", fsql.Select<StringJoin01>().ToList(b => b.Id))
|
concat = string.Join(",", fsql.Select<StringJoin01>().ToList(b => b.Id))
|
||||||
});
|
});
|
||||||
//SELECT a.`Id`, (SELECT group_concat(b.`name` separator ',')
|
//SELECT a.`Id`, (SELECT group_concat(b.`Id` separator ',')
|
||||||
// FROM `StringJoin01` b)
|
// FROM `StringJoin01` b)
|
||||||
//FROM `Topic` a
|
//FROM `Topic` a
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user