Allow import of entities without a primary key (relatedByAttribute) #640

SergioEstevao opened this Issue Jan 6, 2014 · 2 comments


None yet

3 participants


In some scenarios it will be useful to be able to import entities from JSON without using a primary key.
This way it will always insert entities and never update.
This will also improve performance on scenarios when you have a primary key but you are always inserting.

I will contribute a pull request soon to implement this.


I was able to achieve this by adding an attribute <;entity;>ID and leaving it blank.


This is possible in both the upcoming 2.3 and 3.0 releases. Please checkout either the develop branch for 2.3 or release/3.0 for 3.0 pre-releases.

@tonyarnold tonyarnold closed this Apr 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment