From 5dc90adfa695619d6ebdde2077ca9c027ca991fd Mon Sep 17 00:00:00 2001 From: AlexLEWIS Date: Fri, 20 Aug 2021 11:23:25 +0800 Subject: [PATCH] Updated Query Data (markdown) --- Query-Data.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Query-Data.md b/Query-Data.md index c3a8d63..89f5063 100644 --- a/Query-Data.md +++ b/Query-Data.md @@ -47,6 +47,7 @@ DynamicFilterInfo dyfilter = JsonConvert.DeserializeObject(@" ] }"); fsql.Select().WhereDynamicFilter(dyfilter).ToList(); + //SELECT a.""Code"", a.""Name"", a.""ParentCode"", a__Parent.""Code"" as4, a__Parent.""Name"" as5, a__Parent.""ParentCode"" as6 //FROM ""D_District"" a //LEFT JOIN ""D_District"" a__Parent ON a__Parent.""Code"" = a.""ParentCode"" @@ -113,7 +114,7 @@ fsql.Select().WhereDynamicFilter(dyfilter).ToList(); | ForUpdate | \ | bool | Exclusive update lock, adapted to different databases, see notes for details | | AsQueryable | IQueryable | | Convert `ISelect` to `IQueryable`. This method is mainly used for extensions, for example: Abp's `IRepository GetAll()` interface method needs to return an `IQueryable` object. Note: `IQueryable` method is more polluted, please try to avoid this conversion. | | InsertInto | int | string, Lambda | Convert the query to `INSERT INTO tableName SELECT ... FROM t` and perform the insert. | -| ToUpdate | IUpdate\ | 无 | Convert the query to `IUpdate` | -| ToDelete | IDelete\ | 无 | Convert the query to `IDelete` | -| ToTreeList | List\ | 无 | Return the data of the parent-child relationship in the form of a TreeList | +| ToUpdate | IUpdate\ | - | Convert the query to `IUpdate` | +| ToDelete | IDelete\ | - | Convert the query to `IDelete` | +| ToTreeList | List\ | - | Return the data of the parent-child relationship in the form of a TreeList | | AsTreeCte | ISelect | (up, pathSelector, level) | Recursively query the parent-child relationship table | \ No newline at end of file