The ability to search Storage & SecureStorage like a database

Sotrage & SecureStorage are great if you know what you’re looking for. If you’re not sure, then you’re in a world of pain.

At the most basic, something like this would be super helpful, and aid adoption of monday-code where people are reluctant to use it w/o real database like interactions:

import { SecureStorage } from '@mondaycom/apps-sdk';

const key = "monday.account.ABC123.user.*";

const secureStorage = new SecureStorage();

// find all matches
secureStorage.findLike(key);

// delete all matches
secureStorage.deleteLike(key);

Also, I’ve not looked at this too much, but it’s good to take inspiration from others, even if that’s not the apporach you’ll later take.

This (or at least part of it) has been released! Changelog link here.

1 Like