vendredi 29 juillet 2016

ember data two records with the same id

i'm new to ember, what i want to is to translate this database to ember models, but the problem is that the ember model don't allow two record with the same id :

    +-------------+---------------+---------------
| routeId(fk) | stationId(fk) | StationOrder |
+-------------+---------------+---------------
|     1       |       1       |       3      |
+-------------+---------------+---------------
|     1       |       3       |       1      |
+-------------+---------------+---------------
|     1       |       4       |       2      |
+-------------+---------------+---------------
|     2       |       1       |       1      |
+-------------+---------------+---------------
|     2       |       4       |       2      |
+-------------+---------------+---------------




Aucun commentaire:

Enregistrer un commentaire