-
-
Notifications
You must be signed in to change notification settings - Fork 748
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
accf41b
commit 5149561
Showing
15 changed files
with
174 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
....SqlServer.Tests/__snapshots__/DataLoaderTests.Filter_With_Expression_NET6_0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Filter_With_Expression | ||
|
||
## SQL | ||
|
||
```text | ||
SELECT "b"."Id", "b"."DisplayName", "b"."Name", "b"."Details_Country_Name" | ||
FROM "Brands" AS "b" | ||
WHERE ("b"."Id" = 1) AND ("b"."Name" LIKE 'Brand%') | ||
``` | ||
|
||
## Result | ||
|
||
```json | ||
{ | ||
"data": { | ||
"filterExpression": { | ||
"name": "Brand0" | ||
} | ||
} | ||
} | ||
``` | ||
|
22 changes: 22 additions & 0 deletions
22
....SqlServer.Tests/__snapshots__/DataLoaderTests.Filter_With_Expression_NET7_0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Filter_With_Expression | ||
|
||
## SQL | ||
|
||
```text | ||
SELECT "b"."Id", "b"."DisplayName", "b"."Name", "b"."Details_Country_Name" | ||
FROM "Brands" AS "b" | ||
WHERE "b"."Id" = 1 AND ("b"."Name" LIKE 'Brand%') | ||
``` | ||
|
||
## Result | ||
|
||
```json | ||
{ | ||
"data": { | ||
"filterExpression": { | ||
"name": "Brand0" | ||
} | ||
} | ||
} | ||
``` | ||
|
22 changes: 22 additions & 0 deletions
22
...erver.Tests/__snapshots__/DataLoaderTests.Filter_With_Expression_Null_NET6_0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Filter_With_Expression_Null | ||
|
||
## SQL | ||
|
||
```text | ||
SELECT "b"."Id", "b"."DisplayName", "b"."Name", "b"."Details_Country_Name" | ||
FROM "Brands" AS "b" | ||
WHERE "b"."Id" = 1 | ||
``` | ||
|
||
## Result | ||
|
||
```json | ||
{ | ||
"data": { | ||
"brandByIdFilterNull": { | ||
"name": "Brand0" | ||
} | ||
} | ||
} | ||
``` | ||
|
24 changes: 24 additions & 0 deletions
24
...s.SqlServer.Tests/__snapshots__/DataLoaderTests.Filter_With_Filtering_NET6_0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Filter_With_Filtering | ||
|
||
## SQL | ||
|
||
```text | ||
SELECT "p"."Id", "p"."AvailableStock", "p"."BrandId", "p"."Description", "p"."ImageFileName", "p"."MaxStockThreshold", "p"."Name", "p"."OnReorder", "p"."Price", "p"."RestockThreshold", "p"."TypeId" | ||
FROM "Products" AS "p" | ||
WHERE "p"."BrandId" = 1 | ||
``` | ||
|
||
## Result | ||
|
||
```json | ||
{ | ||
"data": { | ||
"filterContext": [ | ||
{ | ||
"name": "Product 0-0" | ||
} | ||
] | ||
} | ||
} | ||
``` | ||
|
22 changes: 22 additions & 0 deletions
22
...rver.Tests/__snapshots__/DataLoaderTests.Filter_With_Multi_Expression_NET6_0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Filter_With_Multi_Expression | ||
|
||
## SQL | ||
|
||
```text | ||
SELECT "b"."Id", "b"."DisplayName", "b"."Name", "b"."Details_Country_Name" | ||
FROM "Brands" AS "b" | ||
WHERE ("b"."Id" = 1) AND (("b"."Name" LIKE 'Brand%') AND ("b"."Name" LIKE '%0')) | ||
``` | ||
|
||
## Result | ||
|
||
```json | ||
{ | ||
"data": { | ||
"multiFilterExpression": { | ||
"name": "Brand0" | ||
} | ||
} | ||
} | ||
``` | ||
|
22 changes: 22 additions & 0 deletions
22
...rver.Tests/__snapshots__/DataLoaderTests.Filter_With_Multi_Expression_NET7_0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Filter_With_Multi_Expression | ||
|
||
## SQL | ||
|
||
```text | ||
SELECT "b"."Id", "b"."DisplayName", "b"."Name", "b"."Details_Country_Name" | ||
FROM "Brands" AS "b" | ||
WHERE "b"."Id" = 1 AND ("b"."Name" LIKE 'Brand%') AND ("b"."Name" LIKE '%0') | ||
``` | ||
|
||
## Result | ||
|
||
```json | ||
{ | ||
"data": { | ||
"multiFilterExpression": { | ||
"name": "Brand0" | ||
} | ||
} | ||
} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters