mirror of
https://github.com/EchoVault/SugarDB.git
synced 2026-04-22 23:47:09 +08:00
Renamed 'Randomkey' to 'RandomKey' to follow PascalCase convention for exported methods. Added more clear definition for the RANDOMKEY command.
This commit is contained in:
@@ -968,7 +968,7 @@ Delete all the keys in the currently selected database. This command is always s
|
||||
Command: "randomkey",
|
||||
Module: constants.GenericModule,
|
||||
Categories: []string{constants.KeyspaceCategory, constants.ReadCategory, constants.SlowCategory},
|
||||
Description: "(RANDOMKEY) Returns a random key.",
|
||||
Description: "(RANDOMKEY) Returns a random key from the current selected database.",
|
||||
Sync: false,
|
||||
KeyExtractionFunc: randomKeyFunc,
|
||||
HandlerFunc: handleRandomkey,
|
||||
|
||||
Reference in New Issue
Block a user