Closed Jaymon closed 8 years ago
Create an object Foo:
f = Foo() f.bar = 1 f.che = None
now only update if our Foo instance doesn't have a None che:
None
Foo.query.set_bar(2).is_bar(f.bar).not_che(None).update()
That should return False because it wouldn't actually update the row, but it also wouldn't fail.
False
I'm not sure why I can never remember the syntax to close a freaking issue from the repo, sigh
Create an object Foo:
now only update if our Foo instance doesn't have a
None
che:That should return
False
because it wouldn't actually update the row, but it also wouldn't fail.