GenXdev.Data.KeyValueStore provides a persistent JSON-based key-value store on the local filesystem. You create named stores, set and get values by key, enumerate keys, and remove entries or entire stores.
| Command | Aliases | What it does |
|---|---|---|
| Set-ValueByKeyInStore | setvalue |
Store a value under a key in a named key-value store |
| Get-ValueByKeyFromStore | getvalue |
Retrieve a value by key from a named store |
| Get-StoreKeys | getkeys |
List all keys in a named key-value store |
| Get-KeyValueStoreNames | getstorenames |
List all available key-value stores |
| Get-KeyValueStorePath | — | Get the filesystem path for a named store |
| Remove-KeyFromStore | removekey |
Remove a single key from a store |
| Remove-KeyValueStore | — | Delete an entire key-value store |
Each key-value store is a named JSON file on disk. Set-ValueByKeyInStore
(setvalue) writes a value under a key. Get-ValueByKeyFromStore
(getvalue) reads it back. Get-StoreKeys (getkeys) lists all keys in a
store. Remove-KeyFromStore (removekey) removes a single key.
Remove-KeyValueStore deletes an entire store. Get-KeyValueStoreNames
(getstorenames) lists all available stores. Get-KeyValueStorePath
returns the filesystem path for a store.
- GenXdev.Data.Preferences — Typed preferences with defaults
- GenXdev.Data.SQLite — Full relational database access
- GenXdev.FileSystem — File system utilities
- Full Cmdlet Reference