Jinzhu
|
115789960a
|
Joins support parameters, close #673
|
2016-02-16 22:48:26 +08:00 |
Jinzhu
|
5883c70478
|
Support custom preloading SQL, close #598, #793, #824
|
2016-02-15 21:29:47 +08:00 |
Jinzhu
|
b054f235b9
|
Fix query with extra option
|
2016-02-15 19:42:49 +08:00 |
Jinzhu
|
c9dfd80959
|
Support extra options for inserting, querying, deleting, updating SQL, close #721, #769
|
2016-02-15 19:36:48 +08:00 |
Jinzhu
|
f9c6d17b2a
|
Reorder callbacks after append it
|
2016-02-15 17:22:29 +08:00 |
Jinzhu
|
226c00b4a8
|
Fix LimitAndOffset for Update
|
2016-02-15 17:00:28 +08:00 |
Jinzhu
|
9caf48035d
|
Refactor callback
|
2016-02-15 16:55:47 +08:00 |
Jinzhu
|
5d4aae2d11
|
Don't sort processors that without name
|
2016-02-15 16:23:26 +08:00 |
Jinzhu
|
4e8370e18b
|
Refactor dialect
|
2016-02-15 14:59:15 +08:00 |
Jinzhu
|
6546ec3b5e
|
Scan Rows into struct, fix #59
|
2016-02-14 23:29:06 +08:00 |
Jinzhu
|
a7097106b1
|
Fix #784 set mysql datetime's type to NOT NULL
|
2016-02-14 22:42:17 +08:00 |
Jinzhu
|
94fb0dd1d4
|
Merge branch 'master' into v1.0_dev
|
2016-02-14 21:49:14 +08:00 |
Jinzhu
|
aa45da1542
|
Preload first before run after find
|
2016-02-14 21:47:13 +08:00 |
Jinzhu
|
f4456e139e
|
Register dialects
|
2016-02-14 18:06:42 +08:00 |
Jinzhu
|
421979cfc2
|
Order results when preload many2many relations
|
2016-02-14 17:21:40 +08:00 |
Jinzhu
|
ea40d075fe
|
Fix migration
|
2016-02-14 16:17:02 +08:00 |
Jinzhu
|
86b4b20278
|
Merge branch 'master' into v1.0_dev
|
2016-02-14 14:18:35 +08:00 |
Jinzhu
|
77928d8373
|
Check argument is string or not in HasTable
|
2016-02-14 14:17:25 +08:00 |
Jinzhu
|
3c9d2b1af6
|
Merge branch 'RichardKnop-bugfix/hastable-string'
|
2016-02-14 14:14:56 +08:00 |
Richard Knop
|
d37d184401
|
Fixed a nested preload panic bug.
|
2016-02-14 14:14:32 +08:00 |
Jinzhu
|
090272bf25
|
Merge pull request #846 from RichardKnop/bugfix/preload-panic
Fixed a nested preload panic bug.
|
2016-02-14 14:05:25 +08:00 |
Jinzhu
|
b4abd125c1
|
Refactor DataTypeOf for postgres, mssql
|
2016-02-14 13:51:34 +08:00 |
Jinzhu
|
d7455fa5b1
|
Refactor DataTypeOf for mysql
|
2016-02-14 13:34:32 +08:00 |
Jinzhu
|
552d9bf455
|
Refactor DataTypeOf for sqlite
|
2016-02-14 11:51:53 +08:00 |
Richard Knop
|
f73f7b251f
|
HasTable now works with table name passed as a string.
Before, only HasTable(&Foo) would work but HasTable("foos") would always
return false. This PR fixes that.
|
2016-02-13 20:28:42 +08:00 |
Richard Knop
|
c19412d85a
|
Fixed a nested preload panic bug.
|
2016-02-10 23:44:41 +08:00 |
Jinzhu
|
dc435d2225
|
Merge branch 'master' into v1.0_dev
|
2016-02-08 22:08:02 +08:00 |
Jinzhu
|
0cf369dcff
|
Fix query IN with empty slice
|
2016-02-08 19:29:16 +08:00 |
Jinzhu
|
7aab3ae861
|
Merge pull request #836 from lscieux/master
Fix a reflection panic with nested preloads
|
2016-02-08 18:16:09 +08:00 |
lscieux
|
369027a6ae
|
Fix a reflection panic with nested preloads
|
2016-02-04 21:28:17 +01:00 |
Jinzhu
|
d1fcba9bfc
|
Merge pull request #834 from Xiol/patch-1
Fix documentation for Count() function example
|
2016-02-04 22:35:41 +08:00 |
Dane
|
08a740db98
|
Fix documentation for Count() function examples
Count function should pass pointer to struct rather than struct.
|
2016-02-04 09:23:04 +00:00 |
Jinzhu
|
2dfd76d22b
|
Refactor DataTypeOf
|
2016-01-29 15:08:53 +08:00 |
Jinzhu
|
c7b9acefb7
|
Merge pull request #823 from taiyangc/readme-typo
Fix README typo on Related usage.
|
2016-01-29 14:56:44 +08:00 |
Eric Chen
|
7bb90371e9
|
Fix README typo on Related usage.
|
2016-01-26 03:14:05 -08:00 |
Jinzhu
|
d92c5db9e7
|
Refactor dialect
|
2016-01-19 13:11:11 +08:00 |
Jinzhu
|
e159ca1914
|
Refactor dialect
|
2016-01-18 20:32:52 +08:00 |
Jinzhu
|
896ee534e2
|
Add indirect method
|
2016-01-18 12:20:27 +08:00 |
Jinzhu
|
9739cb853c
|
Merge pull request #804 from RichardKnop/feature/reflect-fieldbyname-panic-fix
Fixed an issue with reflect.Value.FieldByName causing panic
|
2016-01-18 12:02:59 +08:00 |
Richard Knop
|
50fe671928
|
Fixed an issue with reflect.Value.FieldByName causing panic under certain circumstances.
|
2016-01-17 23:18:16 +08:00 |
Jinzhu
|
19e9bd29e3
|
Refactor Scope CallMethod
|
2016-01-17 21:43:20 +08:00 |
Jinzhu
|
84f34c0c62
|
Move logger images to doc
|
2016-01-17 21:01:18 +08:00 |
Jinzhu
|
07773cc367
|
Keep refactoring on callbacks
|
2016-01-17 20:51:11 +08:00 |
Jinzhu
|
58a7252251
|
Refactor update callback
|
2016-01-17 19:57:03 +08:00 |
Jinzhu
|
92213273a5
|
Refactor create callback
|
2016-01-17 18:17:04 +08:00 |
Jinzhu
|
e38b1e0948
|
Remove uncessary NeedPtr method
|
2016-01-17 17:12:19 +08:00 |
Jinzhu
|
4f84bf0d94
|
Hide method QuoteIfPossible
|
2016-01-17 16:37:17 +08:00 |
Jinzhu
|
317e1a9a48
|
Keep refactoring callbacks
|
2016-01-17 16:28:32 +08:00 |
Jinzhu
|
31366f388f
|
Remove uncessary method CallMethodWithErrorCheck for Scope
|
2016-01-17 16:14:14 +08:00 |
Jinzhu
|
de73d30503
|
Refactor callbacks
|
2016-01-17 15:30:42 +08:00 |