Wenchao Hu
6f9aafa106
fix a wrong sql
...
`time.Now` is a function, it should be `time.Now()`
2017-03-27 22:35:58 +08:00
Jinzhu
93834ebf2e
Update
2017-03-23 00:16:10 +08:00
Grégoire Molveau
7c5ec07522
Add back-reference example to many-to-many doc
2017-03-17 17:20:23 +08:00
Joe Ferrucci
4b4b6b8a42
Clarification
...
Clarify when `UpdatedAt` is updated.
2017-01-22 11:35:34 -08:00
Joe Ferrucci
08c6a5ad0b
Update models.md
...
Incorrect syntax.
2017-01-22 09:04:40 -08:00
Jinzhu
84fe98b1d6
Update doc
2017-01-16 23:35:00 +08:00
Xavier Coulon
3bfe600c82
Clarification on DB.First(...)
method
...
Documenting the limitation on the `func (s *DB) First(out interface{}, where ...interface{}) *DB` method where the column name is optional if the primary key is numeric. In other cases, the name of the column must be provided.
2017-01-16 15:50:47 +01:00
Jinzhu
0846f2636a
Merge pull request #1294 from mehdy/patch-1
...
associations.md: updated association fields type
2017-01-13 10:57:10 +08:00
Nikola Kovacs
1fec745f54
Fix typo in documentation
2017-01-05 10:37:37 +01:00
Jinzhu
aa47843d25
Fix page building error on github
2017-01-02 22:09:54 +08:00
Jinzhu
5945e2bab2
Fix page building error on github
2017-01-02 22:08:09 +08:00
Jinzhu
7bad00961a
Update how to write documents
2017-01-02 22:02:51 +08:00
Jinzhu
5e5a9792ac
Update documents
2017-01-02 21:56:33 +08:00
Jinzhu
cb1e720803
Fix link
2017-01-02 20:58:41 +08:00
Kévin Dunglas
b530757c9f
Docs: add a missing backtick
2017-01-01 17:18:39 +01: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
Jinzhu
e9fdbc2c2e
Update documents
2016-10-27 12:30:00 +08:00
Mark Platt
64327f1fc2
Change "GROM" to "GORM"
...
That's it. Just a typo.
2016-10-20 22:18:09 -04:00
Jinzhu
cf583c7d56
Merge pull request #1216 from naokij/patch-1
...
Update associations.md
2016-10-19 10:22:34 +08:00
Andrey Deryabin
1273d39feb
fix typo
2016-10-10 11:59:43 +03:00
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
Tobias Kaupat
47700ae2d2
Update models.md
...
Document DefaultTableNameHandler
2016-08-16 10:48:46 +02:00
☃ Dmitry (◕ᴥ◕)
96e1033335
Fix typos
2016-08-01 20:48:08 +09:00
jeff martinez
915f2c5061
Add db.Close() examples to documentation
2016-07-18 14:03:08 -07:00
Michael Storgaard
fa52e545f7
Fix typo in primary key section of docs
2016-07-01 16:46:56 +02:00
Andy Ruland
a11f3de60d
Added valid postgres connect string with host and password
2016-05-04 12:25:08 +04:00
Ezra Gildesgame
df2e5ce0bd
Create initial schema.
2016-04-29 12:00:44 -04:00
Jinzhu
01f571cb77
Update
2016-03-28 10:40:33 +08:00
Jinzhu
e0cc1afd91
Update Pages
2016-03-23 07:34:22 +08:00
Bryan Crowe
9e61285c9c
Clean up database docs
2016-03-18 12:06:34 -04:00
Pete Morgan
b6d8e1c101
Explain chaining a bit more
2016-03-09 13:01:22 +00:00
Denis Eliseev
74d5ac58e2
Fix gorm.Open dialect
...
Fix gorm.Open dialect from 'sqlite' to 'sqlite3'
2016-03-09 17:44:53 +05:00
Bryan Crowe
5ca3a5bfae
Fix definition spelling
2016-03-08 19:41:04 -05:00
Jinzhu
01a436c35c
Fix documents
2016-03-09 07:36:34 +08:00
Jinzhu
1089f6be30
Update documents
2016-03-08 23:15:08 +08:00
Jinzhu
87fefe0c35
Rebuild
2016-03-08 12:18:56 +08:00
Jinzhu
5483a097fd
Update documents
2016-03-08 12:14:16 +08:00
Jinzhu
a4a7cad6ee
Update document
2016-03-08 11:59:56 +08:00
Jinzhu
187b23c091
Update advanced document
2016-03-08 09:58:31 +08:00
Jinzhu
0a92f14d87
Update callback document
2016-03-08 09:51:34 +08: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
45cfaf3466
Update Documents
2016-03-07 22:51:24 +08:00
Jinzhu
772cd8814c
Update README
2016-03-02 08:54:13 +08:00
Jinzhu
42e845f0b4
Update documents
2016-02-29 22:57:30 +08:00
Jinzhu
1fbfb00bae
Rebuild documents
2016-02-29 21:52:18 +08:00
Jinzhu
49efcd81c7
Update documents
2016-02-29 21:35:41 +08:00
Jinzhu
6428d4264f
Update documents
2016-02-28 18:07:46 +08:00