Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
27pchrisl committed Apr 10, 2021
1 parent d510115 commit 1b8f3ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Drivers/RedisEntitySet.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function update(PropertyValue $key): Entity
*/
public function query(): Generator
{
$token = $this->getSkipToken()->hasValue() ? $this->getSkipToken()->getValue() : 0;
$token = $this->getSkipToken()->hasValue() ? $this->getSkipToken()->getValue() : null;

$pageSize = $this->pageSize;
if ($this->getTop()->hasValue()) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"@context": "http://localhost/odata/$metadata#passengers",
"value": [
{
"name": "Orville Satterfield",
"key": "vmqeop"
},
{
"name": "Prof. Robyn Carter",
"key": "dtdsuf"
},
{
"name": "Mr. Damian Murazik",
"key": "dqamni"
}
],
"@nextLink": "http://localhost/odata/passengers?%24top=2&%24skiptoken=2"
Expand Down
4 changes: 0 additions & 4 deletions tests/Unit/Redis/__snapshots__/RedisTest__test_set__1.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"@context": "http://localhost/odata/$metadata#passengers",
"value": [
{
"name": "Orville Satterfield",
"key": "vmqeop"
},
{
"name": "Prof. Robyn Carter",
"key": "dtdsuf"
Expand Down

0 comments on commit 1b8f3ef

Please sign in to comment.