Skip to content

Bug with indexes and mapsTo #21

@althalus86

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;

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