You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a StorageByKeyName() and call get() on it, it will actually
perform a get_or_insert(). This seems unintuitive, since I wouldn't expect
calling a function called get() would (if it doesn't find the desired key)
actually insert a record...
What steps will reproduce the problem?
1. SomeModel.get_by_key_name('NonexistentKey')
2. StorageByKeyName(SomeModel,'NonexistentKey').get()
3. SomeModel.get_by_key_name('NonexistentKey') now exists!
Perhaps I'm thinking about StorageByKeyName wrong?
Original issue reported on code.google.com by jer...@google.com on 24 Jul 2011 at 9:17
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
jer...@google.com
on 24 Jul 2011 at 9:17The text was updated successfully, but these errors were encountered: