COMMAND COUNT
Syntax
COMMAND COUNT
Module
adminCategories
admin slowDescription
Get the number of commands in the SugarDB instance.
Examples
- Go (Embedded)
- CLI
Get server command count:
db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
count, err := db.CommandCount()
Get server command count:
> COMMAND COUNT