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

Insert/Update issue #589

Open
junaid04 opened this issue Feb 23, 2021 · 1 comment
Open

Insert/Update issue #589

junaid04 opened this issue Feb 23, 2021 · 1 comment

Comments

@junaid04
Copy link

junaid04 commented Feb 23, 2021

Coredata

i am facing issue in insert and update don't know why some time it inserted data on same model but once data is inserted unable new data is not inserted or existing data is not updating. Data which is not inserted intoEntry it have about 19000 record if it was the reason then please let me know how to handle large number of records I am using sync version 6.0.3
//JSON
{
    "deviceId": "154",
    "fieldId": "uuid",
    "farmId": "uuid",
    "companyId": "uuid",
    "points": [
        {
            "ts": 1614091886000,
            "v": {
                "cv": 0.1,
                "sr": 1
            },
            "b": 3281,
            "s": 5
        }
    ]
}

remoteKey is deviceId and and ts.

@junaid04
Copy link
Author

@3lvis can you please let me know how to insert new record into relationship. I have added insert and insertrelationship operation first time data is saved into coredata but when update data is received it is not saving to coredata.

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

1 participant