7 Commits

Author SHA1 Message Date
Grégoire Molveau
7c5ec07522 Add back-reference example to many-to-many doc 2017-03-17 17:20:23 +08:00
mehdy
15605750d3 associations.md: updated association fields type
AssociationForeignKey must be the same type of ForeignKey
ForeignKey is better to be uint as gorm.Model.ID is uint
2016-12-30 12:06:57 +03:30
Jiang Le
00171b6f97 Update associations.md
Many to many association
should use
```
db.Model(&user).Related(&languages, "Languages") 
```
instead of
```
db.Model(&user).Related(&languages)
```
http://stackoverflow.com/questions/34667199/gorm-many-to-many-select-gives-invalid-association-error
2016-10-10 16:31:00 +08:00
☃ Dmitry (◕ᴥ◕)
96e1033335 Fix typos 2016-08-01 20:48:08 +09:00
Jinzhu
6bc050c2e0 Update document 2016-03-08 09:35:39 +08:00
Jinzhu
fcf25c48c4 Update README 2016-03-07 23:58:31 +08:00
Jinzhu
6428d4264f Update documents 2016-02-28 18:07:46 +08:00