Jinzhu
|
2c089573cd
|
Add tests for override belogns to foreign keys with tag
|
2016-03-07 23:35:31 +08:00 |
Jinzhu
|
c84e787b1d
|
Merge branch 'master' into v1.0_dev
|
2016-01-16 11:40:08 +08:00 |
Jinzhu
|
211ccf4ea6
|
Fix using pointer value as foreign key
|
2016-01-16 11:37:16 +08:00 |
Jinzhu
|
8d716be896
|
Fix some go vet/lint reports
|
2016-01-15 21:16:48 +08:00 |
Jinzhu
|
43e9035dad
|
Fix Association Count with Soft Delete
|
2016-01-12 13:56:41 +08:00 |
Jinzhu
|
801a271d07
|
Fix Association Count
|
2016-01-12 12:31:05 +08:00 |
Jinzhu
|
a563efdd27
|
Update association tests
|
2015-12-26 16:45:53 +08:00 |
Jinzhu
|
4c1f03fee3
|
Don't set foreign key to be null when delete with a wrong relation
|
2015-12-26 16:19:38 +08:00 |
Jinzhu
|
c88960b9b0
|
Add more tests for TestHasOne
|
2015-12-26 14:26:21 +08:00 |
Jinzhu
|
f6ea3afc8d
|
Refactor association Replace
|
2015-12-25 23:30:57 +08:00 |
Jinzhu
|
f13dcd8bc0
|
Refactor association Replace
|
2015-12-25 20:43:51 +08:00 |
Jinzhu
|
93b512be47
|
Refactor association Clear, Replace
|
2015-12-25 19:35:36 +08:00 |
Jinzhu
|
4719ee7b1f
|
Add Replace support for has many associations
|
2015-12-25 19:08:10 +08:00 |
Jinzhu
|
a00fb4db04
|
Add Delete support for has many associations
|
2015-12-25 18:42:26 +08:00 |
Jinzhu
|
a00cb7432c
|
Update BelongsTo test
|
2015-12-25 17:52:09 +08:00 |
Jinzhu
|
715d7951aa
|
Test HasOne relations for normal foreign key or scanner
|
2015-12-25 17:36:47 +08:00 |
Jinzhu
|
affb64b04b
|
Add BelongsTo support for association Clear
|
2015-12-25 17:32:28 +08:00 |
Jinzhu
|
c85f00bcd2
|
Add BelongsTo support for association Delete
|
2015-12-25 17:09:37 +08:00 |
Jinzhu
|
d57867eb46
|
Make Replace support other associations
|
2015-12-25 15:49:41 +08:00 |
Jinzhu
|
0ce635cc67
|
Add Append support for other associations
|
2015-12-25 15:25:37 +08:00 |
Jinzhu
|
4677215ef4
|
Fix get type Name from scope
|
2015-12-25 12:20:45 +08:00 |
Jinzhu
|
58596afda1
|
Replace many2many associations with empty
|
2015-09-30 21:30:58 +08:00 |
Jinzhu
|
a480621b76
|
Fix extra updates when Append associations for many2many
|
2015-09-30 12:10:22 +08:00 |
Jinzhu
|
1d5f5f43f3
|
Support create/drop multiple tables
|
2015-08-26 11:54:07 +08:00 |
Jinzhu
|
ebbeecd10f
|
Fix test TestManyToMany
|
2015-07-30 22:18:56 +08:00 |
Jinzhu
|
7decf73356
|
Fix test TestHasOneAndHasManyAssociation
|
2015-07-30 18:41:43 +08:00 |
Jinzhu
|
2d802c3445
|
Overwrite slice results with Find
|
2015-06-24 13:56:30 +08:00 |
Jinzhu
|
44b106c8e2
|
Fix tests
|
2015-03-19 18:23:54 +08:00 |
Jinzhu
|
36efd0a561
|
Fix JoinTableHandler JoinWith
|
2015-03-19 16:42:13 +08:00 |
Jinzhu
|
61a878dc2d
|
Fix Related for belongs to association
|
2015-03-02 15:55:24 +08:00 |
Jinzhu
|
da8fc53c86
|
Set IsForeignKey for StructField
|
2015-02-28 15:54:38 +08:00 |
Jinzhu
|
33e6b14632
|
Clear value from db after set table name
|
2015-02-26 16:08:26 +08:00 |
Jinzhu
|
eb480cc085
|
Modify struct when update association
|
2015-02-24 18:48:48 +08:00 |
Jinzhu
|
af7da1ec44
|
GetModelStruct without relations
|
2015-02-18 13:16:32 +08:00 |
Jinzhu
|
0d2c37e310
|
Refactor Model Struct
|
2015-02-18 12:50:37 +08:00 |
Jinzhu
|
5c478b46e1
|
Use Common Initialisms from golint
|
2015-02-18 10:36:32 +08:00 |
Jinzhu
|
9b355ee86c
|
Fix Associations with slice of pointer
|
2015-02-17 23:36:23 +08:00 |
Jinzhu
|
6864d5e5bd
|
Add polymorphic_test.go
|
2015-02-13 11:26:02 +08:00 |
Jinzhu
|
b7554a2cb0
|
Fix delete many2many associations
|
2015-01-16 10:15:53 +08:00 |
jnfeinstein
|
1de020dc4d
|
Add test for polymorphic associations.
|
2014-11-25 21:27:08 -08:00 |
Jinzhu
|
953c347ba7
|
Refactor Scope
|
2014-09-02 19:03:01 +08:00 |
Jinzhu
|
423d9496c1
|
update tests
|
2014-08-28 16:14:44 +08:00 |
Jinzhu
|
39ac95adbb
|
Add InstanceSet, InstanceGet fomr Scope
|
2014-08-20 17:05:02 +08:00 |
Jinzhu
|
9012c9ea09
|
Add Set, Get method for DB
|
2014-08-20 16:25:01 +08:00 |
Jinzhu
|
ba74a9545b
|
Make clear works
|
2014-07-30 22:15:31 +08:00 |
Jinzhu
|
5a95050464
|
Make association replace works
|
2014-07-30 22:10:12 +08:00 |
Jinzhu
|
db3da2c636
|
Make association Count works
|
2014-07-30 21:43:53 +08:00 |
Jinzhu
|
e1e68debdc
|
improve association
|
2014-07-30 20:48:36 +08:00 |
Jinzhu
|
efd3b7678b
|
Be able to find many to many relations
|
2014-07-30 16:22:26 +08:00 |
Jinzhu
|
0d3085393e
|
Add IndirectValue for Scope
|
2014-07-30 14:58:00 +08:00 |