(redis) model.iterate: «where» and «skip» seems to be not working
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 2k
- Fork
- 238
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, redis
- Lĩnh vực
- backend, databases
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100