Keys
Deno KV supports keys of a size of up to 2k. Each type of key part is supported by kview.
Type | Supported | Notes |
---|---|---|
String | ✅ | |
Number | ✅ | Key parts are entered as digits only |
Boolean | ✅ | Key parts are entered as true or false |
BigInt | ✅ | Key parts are entered as digits only |
Uint8Array |
✅ | Key parts are entered as URL safe base64 encoded strings, the value of the key part is not displayed |
String
When viewing a key part that is a string in kview it will be the value of the key part in blue. For example:
Number
When viewing a key part that is a number in kview it will be the value of the key part in purple. For example:
Boolean
When viewing a key part that is a number in kview it will be the value of the key part in purple. For example:
BigInt
When viewing a key part that is a bigint in kview it will be the value of the
key part with an n
suffix in indigo. For example:
Uint8Array
When viewing a key part that is a Uint8Array
in kview it will be the title of
Uint8Array. For example:
Note
While the value is not displayed, the uniqueness and sort order of the value of the key part is preserved.