samuk190 / localbase

A Firebase-Style Database ... Offline!
636 stars 84 forks source link

Add getAll() for database collections #63

Closed theredwillow closed 3 months ago

theredwillow commented 2 years ago

There is currently no way to iterate over all collections within a Localbase db.

const db = new Localbase('savedPoems');
db.getAll().then((response: IndexedDbType) => console.log('response', response));
samuk190 commented 3 months ago

Suggestion added for next releases. I'll be focusing more on bug fixes for now. If you have any idea feel free to make a pull request with the feature and I'll be reviewing it.