PUBSUB NUMPAT
Syntax
PUBSUB NUMPAT
Module
pubsubCategories
pubsub slowDescription
Return the number of patterns that are currently subscribed to by clients.
Examples
- Go (Embedded)
- CLI
Return the number of patterns that are currently subscribed to by clients.
db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
numOfPatterns, err := db.PubSubNumPat()
Return the number of patterns that are currently subscribed to by clients.
> PUBSUB NUMPAT