Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing more then 999 elements does not work #59

Open
bmihelac opened this issue Nov 3, 2011 · 1 comment
Open

Syncing more then 999 elements does not work #59

bmihelac opened this issue Nov 3, 2011 · 1 comment

Comments

@bmihelac
Copy link

bmihelac commented Nov 3, 2011

When syncing more then 1000 items, Chrome just stopped doing it.

It seems there is an restriction for in clause to have at most 999
elements.

I have make workaround that seems to work in branch:

https://github.com/bmihelac/persistencejs/tree/batch-sync

Quick tests shows that it works, but I wouldnt merge it until properly tested.

@MarkMYoung
Copy link
Contributor

Good work, Bojan. I had to do something similar a few months ago (except mine was asynchronously recursive), but I couldn't get permission to give it back to Zef until now.

I added synchronization tiers to prevent children from being sent to the server before the parent was committed. I also added a function to make complex read-only queries without Entities to make use of Zef's abstraction of browser result sets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants