SCAN
KeysIncrementally iterate keys
Examples
Common usage examples
Start scanning from cursor 0
SCAN 0Scan keys matching pattern
SCAN 0 MATCH user:*Scan with count hint
SCAN 0 COUNT 100Notes
- Production-safe alternative to KEYS
- Use returned cursor for next iteration
Related Commands
You might also find these useful