mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-22 00:00:57 +08:00
update
4
查询.md
4
查询.md
@@ -78,6 +78,10 @@ sql = fsql.Select<VM_District_Parent>().WhereDynamicFilter(JsonConvert.Deseriali
|
||||
]
|
||||
}
|
||||
")).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""
|
||||
//WHERE ((not((a.""Code"") LIKE '%val1%') AND not((a.""Name"") LIKE 'val2%') OR not((a.""Name"") LIKE '%val3') OR a.""ParentCode"" <> 'val4' OR a__Parent.""Code"" = 'val11' AND (a__Parent.""Name"") LIKE '%val22%' OR a__Parent.""Name"" = 'val33' OR a__Parent.""ParentCode"" = 'val44'))
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
4
骚操作.md
4
骚操作.md
@@ -243,6 +243,10 @@ sql = fsql.Select<VM_District_Parent>().WhereDynamicFilter(JsonConvert.Deseriali
|
||||
]
|
||||
}
|
||||
")).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""
|
||||
//WHERE ((not((a.""Code"") LIKE '%val1%') AND not((a.""Name"") LIKE 'val2%') OR not((a.""Name"") LIKE '%val3') OR a.""ParentCode"" <> 'val4' OR a__Parent.""Code"" = 'val11' AND (a__Parent.""Name"") LIKE '%val22%' OR a__Parent.""Name"" = 'val33' OR a__Parent.""ParentCode"" = 'val44'))
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user