For IndexedDB and WebSQL this is an async operation,  so it could make sense?