Skip to content

Add (optional) model update predicates.

Compare
Choose a tag to compare
@jortel jortel released this 18 Jan 18:51
· 4 commits to master since this release
dc90720

Add (optional) model update predicates.
Example will update the model by PK and revision=44:
db.Update(&m, model.Eq("revision",44)