David Fahlander

Results 556 comments of David Fahlander

anyOf uses an IDBCursor to iterate results sequencially in index order while bulkGet executes multiple calls to IDBObjectStore.get() in parallel. AnyOf has been almost untouched for 8 years. There have...

The easiest is to use [Collection.modify()](http://dexie.org/docs/Collection/Collection.modify()) with a callback function to mutate your model: ```js db.inspections.where('id').equals(id).modify(x => x.tags.skill[0].third.push({special3:'run'}) ); ``` If you want to use a keypath containing array items,...

Try replace fakeIndexedDb with indexeddbshim that use SQLite to store data.

Could you explain a little more? I'm having problems understanding what you are trying to achieve.

@poltak Dexie [supports parallell transactions](http://dexie.org/docs/Dexie/Dexie.transaction()#parallell-transactions) the same way as IndexedDB does it. Dexie.currentTransaction is a property local to your zone. However, IndexedDB will do table-locking for readwrite-transactions so if you...

> @dfahlander Is transactions safe between multiple tabs? So, i have open a transaction in TAB A and one in TAB B on the same db and table, the second...

Ok, thanks! We'd need a repro to verify this. Seems it would be easy to patch it in dexie. There still seems to be a few issues with Safari we'll...

Also, this issue should be filed in [Webkit bugzilla](https://bugs.webkit.org/)

I can't reproduce this in Safari Version 17.3.1 (19617.2.4.11.12). Repro link: https://jsfiddle.net/dfahlander/6rqyfag9/. @AlejandroAkbal Could you run the repro? What version of Safari do you use?

Tried with Browserstack on Safari Version 15.6.1 (17613.3.9.1.16). The [repro](https://jsfiddle.net/dfahlander/6rqyfag9/) isn't hit there either. Output: ``` User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1...