116 Commits

Author SHA1 Message Date
Jinzhu
4df56744d0 Add error check for transaction 2018-02-12 14:28:47 +08:00
Jinzhu
ff8709dec7 Document Auto Preload 2018-02-12 11:03:26 +08:00
Jinzhu
3b0f7c4d97 Update documents 2018-02-12 10:34:53 +08:00
Jinzhu
566451f9df Update 2018-02-12 10:15:57 +08:00
Jinzhu
1cc132d14f Update documents 2018-02-12 10:10:55 +08:00
Jinzhu
831e406d8b Update associations 2018-02-10 22:21:46 +08:00
Jinzhu
523201c88a Update associations 2018-02-10 22:03:30 +08:00
Jinzhu
a96b40a248 Update doc for self-reference m2m 2018-02-10 21:58:20 +08:00
Jinzhu
e63dd6fb34 Update for associations 2018-02-10 17:59:51 +08:00
Jinzhu
870443750c Update templates 2018-02-09 08:20:19 +08:00
Jinzhu
9c76bdaf49 Build documents 2018-02-09 08:14:58 +08:00
Adrian Heng
792b9b3547 add section on Dialects to the documentation. For now, it only has info on PostgreSQL, but this can be extended later to include information on the other supported dialects. (#1759) 2018-02-09 08:10:47 +08:00
Jonas Droste
4be4b87efb remove sslmode=disable from postgresql (#1748)
remove sslmode=disable from postgresql which leads to unsafe copy and paste situations
2018-02-04 08:22:52 +08:00
Jinzhu
85f22393d9 Update CNAME 2018-02-01 12:02:57 +08:00
Jinzhu
af6a26a9c2 Update CNAME 2018-02-01 11:54:20 +08:00
Jinzhu
c40431c920 Create CNAME 2018-02-01 11:44:44 +08:00
PapEr
62721e0dda add port in PostgreSQL connection example (#1652) 2018-01-31 17:09:24 +08:00
Sergey Lanzman
04dd90a8da "if" in golang style (#1679) 2018-01-31 17:06:57 +08:00
DinoLai
d2dfb7d0fb fix some typos in documents (#1680)
* fix typo in models.md

* fix typo in crud.md: add lost double quotation

* fix markdown code highlight

* fix misunderstanding
2018-01-31 17:06:24 +08:00
Jinzhu
263ef914f1 build pages 2017-10-18 18:41:37 +08:00
Jinzhu
b50377d9be Add example for SubQuery 2017-10-18 18:41:08 +08:00
Nafis Faysal
64cfa2d425 Update database.md (#1639)
Add missing ` key on line 131 Drop table `users`
2017-10-14 22:04:17 -05:00
王瑞华
0583e051a4 fix doc pluck (#1) (#1638) 2017-10-10 08:01:01 -05:00
Jinzhu
a659f3442b Link to SQL Server Go Tutorials 2017-06-11 20:45:35 +08:00
Jinzhu
28cf259651 Merge pull request #1477 from semihtok/patch-1
Typo in "advanced" document
2017-05-18 10:23:32 +08:00
Semih Tok
d453161737 Typo fix in "advanced" document
Little typo (character missing) fixed.
2017-05-16 10:22:01 +03:00
Jinzhu
8e2c4ee981 Merge pull request #1429 from jonhester/fix-typo
fix typo in crud
2017-04-17 10:37:42 +08:00
Jon Hester
53a1518437 fix typo in crud 2017-04-09 10:52:27 -04:00
Jinzhu
147cd36f65 Update 2017-03-28 10:13:06 +08:00
Jinzhu
7341d7e101 Merge pull request #1403 from liubin/patch-1
Add lost backslash
2017-03-28 10:03:31 +08:00
Jinzhu
0efe6d8343 Merge pull request #1402 from huwenchao/patch-1
fix a wrong sql
2017-03-27 23:03:21 +08:00
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
Bin Liu
5514c29b9b Add lost backslash
Format is broken without the three backslasees
2017-03-27 22:12:23 +08:00
Jinzhu
93834ebf2e Update 2017-03-23 00:16:10 +08:00
Jinzhu
d2bdb9bc36 Update 2017-03-17 17:21:06 +08:00
Grégoire Molveau
7c5ec07522 Add back-reference example to many-to-many doc 2017-03-17 17:20:23 +08:00
Jinzhu
335c5d727c Merge pull request #1326 from JoeFerrucci/patch-1
Update models.md
2017-01-23 10:38:04 +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
Jinzhu
dd88cb9708 Merge pull request #1315 from xcoulon/patch-1
Clarification on `DB.First(...)` method
2017-01-16 23:30:12 +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
Jinzhu
c23ed8e58b Merge pull request #1305 from nkovacs/patch-2
Fix typo in documentation
2017-01-05 22:24:33 +08:00
Nikola Kovacs
1fec745f54 Fix typo in documentation 2017-01-05 10:37:37 +01:00
Jinzhu
a48d6f4b8e Remove not used files for github pages 2017-01-02 22:14:03 +08: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