8 Commits

Author SHA1 Message Date
Barbara Miller
4ad3cff415 updates for rethinkdb 2.4.9 2023-05-18 17:16:04 -07:00
Noah Levitt
164a0d48af forget the orm smart updates
I think it was blowing up the size of the model objects, not sure why
exactly, but it was kind of pointless, and complex
2019-05-16 23:52:13 +00:00
Noah Levitt
efa01d40ac test exposing dumb bug 2018-03-22 16:00:44 -07:00
Noah Levitt
2f01252c32 change logic of orm constructor so that initial values are not considered updates, and explain a bit in the docstring 2017-03-23 18:19:13 -07:00
Noah Levitt
7b17ed1057 turns out we want populate_defaults to happen in __init__, fix so things work right 2017-03-07 17:46:48 -08:00
Noah Levitt
3fd2e5cf60 new method on orm class populate_defaults(), which runs at the beginning of save(), since populating them in __init__() is problematic 2017-03-07 12:44:52 -08:00
Noah Levitt
07bc01cbbd have Document.load() return None if no such doc is found in the db 2017-03-02 10:31:29 -08:00
Noah Levitt
aa177f94b8 split tests into different source files 2017-03-02 10:16:41 -08:00