Changes between Version 21 and Version 22 of NonSqlBackends


Ignore:
Timestamp:
Aug 28, 2009, 6:32:48 AM (15 years ago)
Author:
Waldemar Kornewald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NonSqlBackends

    v21 v22  
    2424
    2525Implementing an auto-increment field in SimpleDB would be extremely difficult.  I would say impossible, actually.  The eventual consistency model just doesn't support it.  For the persistence layers I have written on top of SimpleDB, I use a UUID (type 4) as the ID of the object.  --garnaat
     26
     27Conclusion: Portable code should never assume that the "pk" field is a number. If an entity uses a string pk the application should continue to work.
    2628
    2729= Model =
Back to Top