Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Conversation

ShishKabab
Copy link

By using the db parameter passed in by Dexie when constructing a new instance, every time a new instance is created, the collection method works only on the latest DB. This breaks use cases such as ours when testing multi-device sync, creating a backend DB and multiple client DBs.

By using the `db` parameter passed in by Dexie when constructing a new instance, every time a new instance is created, the `collection` method works only on the latest DB. This breaks use cases such as ours when testing multi-device sync, creating a `backend` DB and multiple `client` DBs.
@YurySolovyov
Copy link
Owner

Can you please add a test?

@ShishKabab
Copy link
Author

That'd take a bit more time, but I'll see if I can find it soon-ish :)

@YurySolovyov
Copy link
Owner

Sure, no rush

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants