forked from redis/redis-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.json
3227 lines (3226 loc) · 74.1 KB
/
commands.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"APPEND": {
"summary": "Append a value to a key",
"complexity": "O(1). The amortized time complexity is O(1) assuming the appended value is small and the already present value is of any size, since the dynamic string library used by Redis will double the free space available on every reallocation.",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "value",
"type": "string"
}
],
"since": "2.0.0",
"group": "string"
},
"AUTH": {
"summary": "Authenticate to the server",
"arguments": [
{
"name": "password",
"type": "string"
}
],
"since": "1.0.0",
"group": "connection"
},
"BGREWRITEAOF": {
"summary": "Asynchronously rewrite the append-only file",
"since": "1.0.0",
"group": "server"
},
"BGSAVE": {
"summary": "Asynchronously save the dataset to disk",
"since": "1.0.0",
"group": "server"
},
"BITCOUNT": {
"summary": "Count set bits in a string",
"complexity": "O(N)",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": ["start", "end"],
"type": ["integer", "integer"],
"optional": true
}
],
"since": "2.6.0",
"group": "string"
},
"BITFIELD": {
"summary": "Perform arbitrary bitfield integer operations on strings",
"complexity": "O(1) for each subcommand specified",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"command": "GET",
"name": ["type", "offset"],
"type": ["type", "integer"],
"optional": true
},
{
"command": "SET",
"name": ["type", "offset", "value"],
"type": ["type", "integer", "integer"],
"optional": true
},
{
"command": "INCRBY",
"name": ["type", "offset", "increment"],
"type": ["type", "integer", "integer"],
"optional": true
},
{
"command": "OVERFLOW",
"type": "enum",
"enum": ["WRAP", "SAT", "FAIL"],
"optional": true
}
],
"since": "3.2.0",
"group": "string"
},
"BITOP": {
"summary": "Perform bitwise operations between strings",
"complexity": "O(N)",
"arguments": [
{
"name": "operation",
"type": "string"
},
{
"name": "destkey",
"type": "key"
},
{
"name": "key",
"type": "key",
"multiple": true
}
],
"since": "2.6.0",
"group": "string"
},
"BITPOS": {
"summary": "Find first bit set or clear in a string",
"complexity": "O(N)",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "bit",
"type": "integer"
},
{
"name": "start",
"type": "integer",
"optional": true
},
{
"name": "end",
"type": "integer",
"optional": true
}
],
"since": "2.8.7",
"group": "string"
},
"BLPOP": {
"summary": "Remove and get the first element in a list, or block until one is available",
"complexity": "O(1)",
"arguments": [
{
"name": "key",
"type": "key",
"multiple": true
},
{
"name": "timeout",
"type": "integer"
}
],
"since": "2.0.0",
"group": "list"
},
"BRPOP": {
"summary": "Remove and get the last element in a list, or block until one is available",
"complexity": "O(1)",
"arguments": [
{
"name": "key",
"type": "key",
"multiple": true
},
{
"name": "timeout",
"type": "integer"
}
],
"since": "2.0.0",
"group": "list"
},
"BRPOPLPUSH": {
"summary": "Pop a value from a list, push it to another list and return it; or block until one is available",
"complexity": "O(1)",
"arguments": [
{
"name": "source",
"type": "key"
},
{
"name": "destination",
"type": "key"
},
{
"name": "timeout",
"type": "integer"
}
],
"since": "2.2.0",
"group": "list"
},
"CLIENT KILL": {
"summary": "Kill the connection of a client",
"complexity": "O(N) where N is the number of client connections",
"arguments": [
{
"name": "ip:port",
"type": "string",
"optional": true
},
{
"command": "ID",
"name": "client-id",
"type": "integer",
"optional": true
},
{
"command": "TYPE",
"type": "enum",
"enum": ["normal", "master", "slave", "pubsub"],
"optional": true
},
{
"command": "ADDR",
"name": "ip:port",
"type": "string",
"optional": true
},
{
"command": "SKIPME",
"name": "yes/no",
"type": "string",
"optional": true
}
],
"since": "2.4.0",
"group": "server"
},
"CLIENT LIST": {
"summary": "Get the list of client connections",
"complexity": "O(N) where N is the number of client connections",
"since": "2.4.0",
"group": "server"
},
"CLIENT GETNAME": {
"summary": "Get the current connection name",
"complexity": "O(1)",
"since": "2.6.9",
"group": "server"
},
"CLIENT PAUSE": {
"summary": "Stop processing commands from clients for some time",
"complexity": "O(1)",
"arguments": [
{
"name": "timeout",
"type": "integer"
}
],
"since": "2.9.50",
"group": "server"
},
"CLIENT REPLY": {
"summary": "Instruct the server whether to reply to commands",
"complexity": "O(1)",
"arguments": [
{
"name": "reply-mode",
"type": "enum",
"enum": ["ON", "OFF", "SKIP"]
}
],
"since": "3.2",
"group": "server"
},
"CLIENT SETNAME": {
"summary": "Set the current connection name",
"complexity": "O(1)",
"since": "2.6.9",
"arguments": [
{
"name": "connection-name",
"type": "string"
}
],
"group": "server"
},
"CLUSTER ADDSLOTS": {
"summary": "Assign new hash slots to receiving node",
"complexity": "O(N) where N is the total number of hash slot arguments",
"arguments": [
{
"name": "slot",
"type": "integer",
"multiple": true
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER COUNT-FAILURE-REPORTS": {
"summary": "Return the number of failure reports active for a given node",
"complexity": "O(N) where N is the number of failure reports",
"arguments": [
{
"name": "node-id",
"type": "string"
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER COUNTKEYSINSLOT": {
"summary": "Return the number of local keys in the specified hash slot",
"complexity": "O(1)",
"arguments": [
{
"name": "slot",
"type": "integer"
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER DELSLOTS": {
"summary": "Set hash slots as unbound in receiving node",
"complexity": "O(N) where N is the total number of hash slot arguments",
"arguments": [
{
"name": "slot",
"type": "integer",
"multiple": true
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER FAILOVER": {
"summary": "Forces a slave to perform a manual failover of its master.",
"complexity": "O(1)",
"arguments": [
{
"name": "options",
"type": "enum",
"enum": ["FORCE","TAKEOVER"],
"optional": true
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER FORGET": {
"summary": "Remove a node from the nodes table",
"complexity": "O(1)",
"arguments": [
{
"name": "node-id",
"type": "string"
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER GETKEYSINSLOT": {
"summary": "Return local key names in the specified hash slot",
"complexity": "O(log(N)) where N is the number of requested keys",
"arguments": [
{
"name": "slot",
"type": "integer"
},
{
"name": "count",
"type": "integer"
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER INFO": {
"summary": "Provides info about Redis Cluster node state",
"complexity": "O(1)",
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER KEYSLOT": {
"summary": "Returns the hash slot of the specified key",
"complexity": "O(N) where N is the number of bytes in the key",
"arguments": [
{
"name": "key",
"type": "string"
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER MEET": {
"summary": "Force a node cluster to handshake with another node",
"complexity": "O(1)",
"arguments": [
{
"name": "ip",
"type": "string"
},
{
"name": "port",
"type": "integer"
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER NODES": {
"summary": "Get Cluster config for the node",
"complexity": "O(N) where N is the total number of Cluster nodes",
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER REPLICATE": {
"summary": "Reconfigure a node as a slave of the specified master node",
"complexity": "O(1)",
"arguments": [
{
"name": "node-id",
"type": "string"
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER RESET": {
"summary": "Reset a Redis Cluster node",
"complexity": "O(N) where N is the number of known nodes. The command may execute a FLUSHALL as a side effect.",
"arguments": [
{
"name": "reset-type",
"type": "enum",
"enum": ["HARD", "SOFT"],
"optional": true
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER SAVECONFIG": {
"summary": "Forces the node to save cluster state on disk",
"complexity": "O(1)",
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER SET-CONFIG-EPOCH": {
"summary": "Set the configuration epoch in a new node",
"complexity": "O(1)",
"arguments": [
{
"name": "config-epoch",
"type": "integer"
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER SETSLOT": {
"summary": "Bind a hash slot to a specific node",
"complexity": "O(1)",
"arguments": [
{
"name": "slot",
"type": "integer"
},
{
"name": "subcommand",
"type": "enum",
"enum": ["IMPORTING", "MIGRATING", "STABLE", "NODE"]
},
{
"name": "node-id",
"type": "string",
"optional": true
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER SLAVES": {
"summary": "List slave nodes of the specified master node",
"complexity": "O(1)",
"arguments": [
{
"name": "node-id",
"type": "string"
}
],
"since": "3.0.0",
"group": "cluster"
},
"CLUSTER SLOTS": {
"summary": "Get array of Cluster slot to node mappings",
"complexity": "O(N) where N is the total number of Cluster nodes",
"since": "3.0.0",
"group": "cluster"
},
"COMMAND": {
"summary": "Get array of Redis command details",
"complexity": "O(N) where N is the total number of Redis commands",
"since": "2.8.13",
"group": "server"
},
"COMMAND COUNT": {
"summary": "Get total number of Redis commands",
"complexity": "O(1)",
"since": "2.8.13",
"group": "server"
},
"COMMAND GETKEYS": {
"summary": "Extract keys given a full Redis command",
"complexity": "O(N) where N is the number of arguments to the command",
"since": "2.8.13",
"group": "server"
},
"COMMAND INFO": {
"summary": "Get array of specific Redis command details",
"complexity": "O(N) when N is number of commands to look up",
"since": "2.8.13",
"arguments": [
{
"name": "command-name",
"type": "string",
"multiple": true
}
],
"group": "server"
},
"CONFIG GET": {
"summary": "Get the value of a configuration parameter",
"arguments": [
{
"name": "parameter",
"type": "string"
}
],
"since": "2.0.0",
"group": "server"
},
"CONFIG REWRITE": {
"summary": "Rewrite the configuration file with the in memory configuration",
"since": "2.8.0",
"group": "server"
},
"CONFIG SET": {
"summary": "Set a configuration parameter to the given value",
"arguments": [
{
"name": "parameter",
"type": "string"
},
{
"name": "value",
"type": "string"
}
],
"since": "2.0.0",
"group": "server"
},
"CONFIG RESETSTAT": {
"summary": "Reset the stats returned by INFO",
"complexity": "O(1)",
"since": "2.0.0",
"group": "server"
},
"DBSIZE": {
"summary": "Return the number of keys in the selected database",
"since": "1.0.0",
"group": "server"
},
"DEBUG OBJECT": {
"summary": "Get debugging information about a key",
"arguments": [
{
"name": "key",
"type": "key"
}
],
"since": "1.0.0",
"group": "server"
},
"DEBUG SEGFAULT": {
"summary": "Make the server crash",
"since": "1.0.0",
"group": "server"
},
"DECR": {
"summary": "Decrement the integer value of a key by one",
"complexity": "O(1)",
"arguments": [
{
"name": "key",
"type": "key"
}
],
"since": "1.0.0",
"group": "string"
},
"DECRBY": {
"summary": "Decrement the integer value of a key by the given number",
"complexity": "O(1)",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "decrement",
"type": "integer"
}
],
"since": "1.0.0",
"group": "string"
},
"DEL": {
"summary": "Delete a key",
"complexity": "O(N) where N is the number of keys that will be removed. When a key to remove holds a value other than a string, the individual complexity for this key is O(M) where M is the number of elements in the list, set, sorted set or hash. Removing a single key that holds a string value is O(1).",
"arguments": [
{
"name": "key",
"type": "key",
"multiple": true
}
],
"since": "1.0.0",
"group": "generic"
},
"DISCARD": {
"summary": "Discard all commands issued after MULTI",
"since": "2.0.0",
"group": "transactions"
},
"DUMP": {
"summary": "Return a serialized version of the value stored at the specified key.",
"complexity": "O(1) to access the key and additional O(N*M) to serialized it, where N is the number of Redis objects composing the value and M their average size. For small string values the time complexity is thus O(1)+O(1*M) where M is small, so simply O(1).",
"arguments": [
{
"name": "key",
"type": "key"
}
],
"since": "2.6.0",
"group": "generic"
},
"ECHO": {
"summary": "Echo the given string",
"arguments": [
{
"name": "message",
"type": "string"
}
],
"since": "1.0.0",
"group": "connection"
},
"EVAL": {
"summary": "Execute a Lua script server side",
"complexity": "Depends on the script that is executed.",
"arguments": [
{
"name": "script",
"type": "string"
},
{
"name": "numkeys",
"type": "integer"
},
{
"name": "key",
"type": "key",
"multiple": true
},
{
"name": "arg",
"type": "string",
"multiple": true
}
],
"since": "2.6.0",
"group": "scripting"
},
"EVALSHA": {
"summary": "Execute a Lua script server side",
"complexity": "Depends on the script that is executed.",
"arguments": [
{
"name": "sha1",
"type": "string"
},
{
"name": "numkeys",
"type": "integer"
},
{
"name": "key",
"type": "key",
"multiple": true
},
{
"name": "arg",
"type": "string",
"multiple": true
}
],
"since": "2.6.0",
"group": "scripting"
},
"EXEC": {
"summary": "Execute all commands issued after MULTI",
"since": "1.2.0",
"group": "transactions"
},
"EXISTS": {
"summary": "Determine if a key exists",
"complexity": "O(1)",
"arguments": [
{
"name": "key",
"type": "key",
"multiple": true
}
],
"since": "1.0.0",
"group": "generic"
},
"EXPIRE": {
"summary": "Set a key's time to live in seconds",
"complexity": "O(1)",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "seconds",
"type": "integer"
}
],
"since": "1.0.0",
"group": "generic"
},
"EXPIREAT": {
"summary": "Set the expiration for a key as a UNIX timestamp",
"complexity": "O(1)",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "timestamp",
"type": "posix time"
}
],
"since": "1.2.0",
"group": "generic"
},
"FLUSHALL": {
"summary": "Remove all keys from all databases",
"arguments": [
{
"name": "async",
"type": "enum",
"enum": ["ASYNC"],
"optional": true
}
],
"since": "1.0.0",
"group": "server"
},
"FLUSHDB": {
"summary": "Remove all keys from the current database",
"arguments": [
{
"name": "async",
"type": "enum",
"enum": ["ASYNC"],
"optional": true
}
],
"since": "1.0.0",
"group": "server"
},
"GEOADD": {
"summary": "Add one or more geospatial items in the geospatial index represented using a sorted set",
"complexity": "O(log(N)) for each item added, where N is the number of elements in the sorted set.",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": ["longitude", "latitude", "member"],
"type": ["double", "double", "string"],
"multiple": true
}
],
"since": "3.2.0",
"group": "geo"
},
"GEOHASH": {
"summary": "Returns members of a geospatial index as standard geohash strings",
"complexity": "O(log(N)) for each member requested, where N is the number of elements in the sorted set.",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "member",
"type": "string",
"multiple": true
}
],
"since": "3.2.0",
"group": "geo"
},
"GEOPOS": {
"summary": "Returns longitude and latitude of members of a geospatial index",
"complexity": "O(log(N)) for each member requested, where N is the number of elements in the sorted set.",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "member",
"type": "string",
"multiple": true
}
],
"since": "3.2.0",
"group": "geo"
},
"GEODIST": {
"summary": "Returns the distance between two members of a geospatial index",
"complexity": "O(log(N))",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "member1",
"type": "string"
},
{
"name": "member2",
"type": "string"
},
{
"name": "unit",
"type": "string",
"optional": true
}
],
"since": "3.2.0",
"group": "geo"
},
"GEORADIUS": {
"summary": "Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point",
"complexity": "O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index.",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "longitude",
"type": "double"
},
{
"name": "latitude",
"type": "double"
},
{
"name": "radius",
"type": "double"
},
{
"name": "unit",
"type": "enum",
"enum": ["m", "km", "ft", "mi"]
},
{
"name": "withcoord",
"type": "enum",
"enum": ["WITHCOORD"],
"optional": true
},
{
"name": "withdist",
"type": "enum",
"enum": ["WITHDIST"],
"optional": true
},
{
"name": "withhash",
"type": "enum",
"enum": ["WITHHASH"],
"optional": true
},
{
"command": "COUNT",
"name": "count",
"type": "integer",
"optional": true
},
{
"name": "order",
"type": "enum",
"enum": ["ASC", "DESC"],
"optional": true
},
{
"command": "STORE",
"name": "key",
"type": "key",
"optional": true
},
{
"command": "STOREDIST",
"name": "key",
"type": "key",
"optional": true
}
],
"since": "3.2.0",
"group": "geo"
},
"GEORADIUSBYMEMBER": {
"summary": "Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member",
"complexity": "O(N+log(M)) where N is the number of elements inside the bounding box of the circular area delimited by center and radius and M is the number of items inside the index.",
"arguments": [
{
"name": "key",
"type": "key"
},
{
"name": "member",
"type": "string"
},
{
"name": "radius",
"type": "double"
},
{
"name": "unit",
"type": "enum",
"enum": ["m", "km", "ft", "mi"]
},
{
"name": "withcoord",
"type": "enum",
"enum": ["WITHCOORD"],
"optional": true
},
{
"name": "withdist",
"type": "enum",
"enum": ["WITHDIST"],
"optional": true
},
{
"name": "withhash",
"type": "enum",
"enum": ["WITHHASH"],
"optional": true
},
{
"command": "COUNT",
"name": "count",
"type": "integer",
"optional": true
},
{
"name": "order",
"type": "enum",
"enum": ["ASC", "DESC"],
"optional": true
},
{
"command": "STORE",
"name": "key",
"type": "key",
"optional": true
},
{
"command": "STOREDIST",
"name": "key",
"type": "key",
"optional": true
}
],
"since": "3.2.0",
"group": "geo"
},
"GET": {
"summary": "Get the value of a key",
"complexity": "O(1)",
"arguments": [
{
"name": "key",