You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pagination support for json array filter result #1224
When json.get runs with a filter and returns large amount of results, need an ability to paginate by providing the offset and count attributes.
Example:
Json.get doc '$[?(@.type=="xxx"]' LIMIT 0 10
+1 Also tried if I could get same kind of behavior with slicing operator like:
"$.[?(@.timestamp>10)][0:100]"
To get first 100 items or so but apparently it returns an empty list even though it seems like a list. Possibly it's because it'd work only for actual array field.
Activity
LiorKogan commentedon Jul 27, 2024
@sureshkmit thank you for your suggestion. This can be valuable indeed. We will consider adding cursor support in a future version.
leppaott commentedon Aug 9, 2024
+1 Also tried if I could get same kind of behavior with slicing operator like:
To get first 100 items or so but apparently it returns an empty list even though it seems like a list. Possibly it's because it'd work only for actual array field.