Take(0) returns the entire result set #2081
-
We are having an issue where Take(0) is returning the entire result set instead of an empty list. We are using Marten 4.0 but I ran this test against master and it's also failing there.
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
@yuenm18 That's purposeful behavior. Is this from some kind of dynamic paging maybe? |
Beta Was this translation helpful? Give feedback.
-
Yep, it's from dynamic paging |
Beta Was this translation helpful? Give feedback.
-
Try this thing? https://martendb.io/documents/querying/linq/paging.html |
Beta Was this translation helpful? Give feedback.
-
Thanks, that gives me a nice error message. |
Beta Was this translation helpful? Give feedback.
Try this thing? https://martendb.io/documents/querying/linq/paging.html