-
-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for between both cursors (#7800)
- Loading branch information
1 parent
6824099
commit 7cafe32
Showing
4 changed files
with
118 additions
and
2 deletions.
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
36 changes: 36 additions & 0 deletions
36
...yFramework.Tests/__snapshots__/PagingHelperTests.Fetch_First_2_Items_Between.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,36 @@ | ||
# Fetch_First_2_Items_Between | ||
|
||
```json | ||
[ | ||
{ | ||
"Id": 2, | ||
"Name": "Product 0-1", | ||
"Description": null, | ||
"Price": 0.0, | ||
"ImageFileName": null, | ||
"TypeId": 1, | ||
"Type": null, | ||
"BrandId": 1, | ||
"Brand": null, | ||
"AvailableStock": 0, | ||
"RestockThreshold": 0, | ||
"MaxStockThreshold": 0, | ||
"OnReorder": false | ||
}, | ||
{ | ||
"Id": 11, | ||
"Name": "Product 0-10", | ||
"Description": null, | ||
"Price": 0.0, | ||
"ImageFileName": null, | ||
"TypeId": 1, | ||
"Type": null, | ||
"BrandId": 1, | ||
"Brand": null, | ||
"AvailableStock": 0, | ||
"RestockThreshold": 0, | ||
"MaxStockThreshold": 0, | ||
"OnReorder": false | ||
} | ||
] | ||
``` |
36 changes: 36 additions & 0 deletions
36
...tyFramework.Tests/__snapshots__/PagingHelperTests.Fetch_Last_2_Items_Between.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,36 @@ | ||
# Fetch_Last_2_Items_Between | ||
|
||
```json | ||
[ | ||
{ | ||
"Id": 9998, | ||
"Name": "Product 99-97", | ||
"Description": null, | ||
"Price": 0.0, | ||
"ImageFileName": null, | ||
"TypeId": 1, | ||
"Type": null, | ||
"BrandId": 100, | ||
"Brand": null, | ||
"AvailableStock": 0, | ||
"RestockThreshold": 0, | ||
"MaxStockThreshold": 0, | ||
"OnReorder": false | ||
}, | ||
{ | ||
"Id": 9999, | ||
"Name": "Product 99-98", | ||
"Description": null, | ||
"Price": 0.0, | ||
"ImageFileName": null, | ||
"TypeId": 1, | ||
"Type": null, | ||
"BrandId": 100, | ||
"Brand": null, | ||
"AvailableStock": 0, | ||
"RestockThreshold": 0, | ||
"MaxStockThreshold": 0, | ||
"OnReorder": false | ||
} | ||
] | ||
``` |