The Question should be clear enough. I would like to know if there is a way to view the size of my ScriptDB? If I call the method .getSize() it will produce the number of items in my database?
I would like to know the size as I would like to be able to set up a script to go and delete old entries as I approach the 200mb size limit.
Thanks so much in advance for your time and energy.
As is written in the 1st comment of the question, now is impossible to get a ScriptDB data size but there is a workaround for this problem. The workaround is to envelope DB handling code by
try/catchand clean the db if the code throws an exception. See an example bellowIn the same way is possible to handle quota limits exceptions of the Cache Service.