1602 / 1602/jugglingdb

(redis) model.iterate: «where» and «skip» seems to be not working

Open
#421 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
238
PR merge metrics
No merged PRs in 30d

Description

Trying to use "where: { id: { gt / lt: XXX } }" or skip in model.iterate method, but script ignores it.
«order by» works fine.
What am i doing wrong here?

Contributor guide

No contributing guide indexed for this repository

Research direction

Look at the model.iterate method in the redis adapter, likely in lib/adapters/redis.js or similar. Examine how where and skip parameters are processed versus order by. Check test files for iterate to understand expected behavior. The issue lacks specifics on error messages or code examples, so start by reproducing the problem with a simple test case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, redis
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.