This commit is contained in:
Patrick O'brien 2016-09-01 00:35:24 +10:00
parent c19146428c
commit b655c90386

View file

@ -788,6 +788,9 @@ pilots, _ := models.Pilots(db).All()
err := pilots.ReloadAll(db)
```
Note: `Reload` and `ReloadAll` are not recursive, if you need your relationships reloaded
you will need to call the `Reload` methods on those yourself.
### Relationships
relationships to one and to many
relationship set ops (to one: set, remove, tomany: add, set, remove)