Database / BetterDB Interview questions
Which data types support full CRUD in BetterDB for Valkey?
The type-specific editors in BetterDB for Valkey cover every core Valkey/Redis data type, with one deliberate exception.
String, Hash, List, Set, and Sorted Set all get full view, edit, and delete support, each with an editor suited to that structure's shape – for instance a Hash shows field/value pairs while a List shows an ordered sequence you can reorder.
| Type | View / Edit / Delete |
| String | Yes / Yes / Yes |
| Hash | Yes / Yes / Yes |
| List | Yes / Yes / Yes |
| Set | Yes / Yes / Yes |
| Sorted Set | Yes / Yes / Yes |
| Stream | Yes / No / Yes |
Stream is the odd one out: it's an append-only log of entries rather than a mutable value, so "editing" an existing entry in place doesn't really fit the data model the way it does for a Hash or a List – you can view entries and delete a key, but not rewrite an entry's contents through the editor.
More Related questions...