- 增加 Firebird string.Join + ToList 表达式解析,实现与 MySql group_concat 相同的效果 #443;

This commit is contained in:
28810
2020-09-13 01:09:02 +08:00
parent 7e2903df22
commit 7240181ff5
3 changed files with 20 additions and 1 deletions

View File

@ -358,6 +358,11 @@ namespace FreeSql
expContext.Result = $"listagg(to_char({expContext.ParsedContent["column"]}),{expContext.ParsedContent["delimiter"]}) within group({orderby})";
return null;
}
public static string StringJoinFirebirdList(object column, object delimiter)
{
expContext.Result = $"list({expContext.ParsedContent["column"]},{expContext.ParsedContent["delimiter"]})";
return null;
}
#endregion
}
}