Open JigneshRaval opened 3 years ago
Hi @brandonroberts ,
Some how I am able to manage above mentioned errors by taking referance from your latest database.js and replacing mergeMap.call to pipe function and have created example on Stackblitz.
https://angular-indexeddb-example.stackblitz.io
https://stackblitz.com/edit/angular-indexeddb-example?file=src%2Fapp%2Fmodules%2Findexeddb.module.ts
But still not able to get the data back. it gives undefined.
Please guide. Thanks,
Hi @brandonroberts ,
A long time back I had found your repository ngrx/db (https://github.com/ngrx/db/blob/master/src/database.ts) and found it very useful but now I am using Angular 8+ having RxJs version 6+ and some functionality is breaking.
open method works fine and creates DB with store name but when I tried to insert record it gives me following error.
Below is the code for insert method. https://github.com/ngrx/db/blob/master/src/database.ts#L135
So if possible for you then I have a small request to you. Can you please provide the TypeScript and RxJs6 version of above functionality. I looked at your new repository but it is JS file : https://github.com/brandonroberts/ngrx-db-builds/blob/master/src/database.js
Also if possible for you can you please add small tutorial or steps to use this DB in Angular 8+.
That will be your great help.
Thank you, Jignesh