Changes between Version 21 and Version 22 of NonSqlBackends
- Timestamp:
- Aug 28, 2009, 6:32:48 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NonSqlBackends
v21 v22 24 24 25 25 Implementing 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 27 Conclusion: 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. 26 28 27 29 = Model =