Skip to content

Store

mash.store · Database

store.all() → Collection

Get all key-value pairs from the store.

store.clear()

Clear all entries from the store

store.delete(key: mixed)

Delete a key from the store

store.get(key: mixed)

Get a value by key

store.register(store: string)

Register a named key-value store

store.set(key: mixed, data: mixed)

Set a key-value pair