Skip to content

Bug with indexes and mapsTo #21

Description

@althalus86

If attributes are set as unique and they have a mapsTo property, the mapsTo is ignored and obviously MySQL gives an error that key doesn't exist.

Adding the following on line 229 in the Sync.js fixes it
k = collection.properties[k].mapsTo;

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions