Changes between Version 5 and Version 6 of NonSqlBackends
- Timestamp:
- Aug 12, 2009, 4:14:50 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NonSqlBackends
v5 v6 19 19 == save_base() == 20 20 21 The distinction between insert and update should be done by sql.Query because not all backends make that distinction, at all. The check whether the pk already exists (which is part of the distinction) should be moved out, too .21 The distinction between insert and update should be done by sql.Query because not all backends make that distinction, at all. The check whether the pk already exists (which is part of the distinction) should be moved out, too, because it would be unnecessarily inefficient on those backends. 22 22 23 23 == delete() ==