Skip to content
masterclass Buddy

Upstash · Method

redis.keys

redis.keys(match) returns the key names that match a glob-style pattern. It can block on large databases, so use SCAN in production.

Last updated

Syntax

redis.keys(match)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • SCAN
  • UNLINK
  • EXPIRE
  • TTL

Source: KEYS - Upstash Documentation. Checked 2026-11-03.