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 }}
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
Arpit Bhayani edited this page May 30, 2024
·
3 revisions
WATCH watches a DQL (Dice Query Language) query and notifies you in real-time.
>>> WATCH KEYS 5 "select $key, $value WHERE $key LIKE 'users:1:%' AND $event IS 'put_key';"
0) users:1:product_view:a
1) "{\"platform\":\"android\"}" <--- value
The above statement subscribes to the connected client to watch for new keys matching the above pattern. The subscribers receive the data requested i.e. KEY, VALUE as a list.