Comments (6)
Hi @EndarValuk ,
Please, post more details when you can.
from ngx-indexed-db.
I took a look into this issue and it seems like with version 2.2.5 on the update function we are using an optional parameter for the key but aren't safe checking the objectStore.put function if that key is undefined. Simply removing the key param allows the update operations to work for IE and Edge.
I propose we add a simple if statement to the put to keep support for IE and edge
if(key){
objectStore.put(value, key);
} else {
objectStore.put(value);
}
from ngx-indexed-db.
Can you open a PR with your suggestion?
from ngx-indexed-db.
I sent in a PR, take a look whenever you have time. Hopefully this can help others that are running into the issue as well. Might be worth documenting these issues in a FAQ section.
from ngx-indexed-db.
Thanks @MattBorkowski
from ngx-indexed-db.
@EndarValuk can you try it on IE with the new version 3.0.13 and see if it works?
from ngx-indexed-db.
Related Issues (20)
- Potential exception when using rxjs 7 in Angular 13 HOT 15
- Create more than one database and add defered creation in service and not in Root Module HOT 8
- updateByKey give an error. HOT 2
- Version is incrementing for dynamically added store and keeps on incrementing with every page refresh HOT 2
- console log when using update
- Angular 14 HOT 3
- Readme for cursor api is not valid HOT 1
- Test HOT 1
- ngx-indexed-db version 11.0.2, cannot make it work with Angular 11 HOT 2
- Support cursor direction
- Check current version HOT 3
- is it possible to handle errors when adding record with existing key?
- Add testing module to handle mocking the indexedDb and easily fetching the info for assertions in unit tests HOT 1
- Unable to delete database because it's blocked HOT 14
- Get all object store names
- Support for "out-of-line" keys? HOT 6
- como faรงo criar o Index , nas tabelas ? HOT 1
- Link in Description opening a Download
- What is the current Version? HOT 1
- Property 'continue' does not exist on type 'IDBDatabase'.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-indexed-db.