PSUBSCRIBE pattern [pattern …]
Related topics
相关命令
Available since 2.0.0.
时间复杂度: O(N) where N is the number of patterns the client is already subscribed to.
Subscribes the client to the given patterns.
Supported glob-style patterns:
h?llo
subscribes tohello
,hallo
andhxllo
h*llo
subscribes tohllo
andheeeello
h[ae]llo
subscribes tohello
andhallo,
but nothillo
Use \
to escape special characters if you want to match them verbatim.
This website is open source software developed by Citrusbyte.
The Redis logo was designed by Carlos Prioglio. See more credits.