astaxie
|
e5096be32b
|
Merge pull request #1490 from pjoe/orm_pk_rel_many
Fix joins for reverse(many) with custom pk
|
2015-12-17 14:56:06 +08:00 |
|
Pelle Johnsen
|
906637ae8b
|
Fix issue with reverse(many) for models with custom pk
- Also add test covering the issue
|
2015-12-15 17:39:08 +01:00 |
|
astaxie
|
ed99c013a6
|
Revert "Update orm_querym2m.go"
|
2015-12-02 16:35:36 +08:00 |
|
astaxie
|
a1d5f958c5
|
Merge pull request #1464 from gobenon/master
Update orm_querym2m.go
|
2015-12-02 16:35:05 +08:00 |
|
gobenon
|
50f8f3bd20
|
Update orm_querym2m.go
|
2015-11-30 18:23:58 +02:00 |
|
astaxie
|
2c94d9eab2
|
Merge pull request #1451 from gobenon/master
fix issue 1438 opened by Ayelet Regev
|
2015-11-25 09:29:28 +08:00 |
|
gobenon
|
efd30bdba7
|
Update orm_querym2m.go
|
2015-11-19 16:46:14 +02:00 |
|
gobenon
|
ca37557a26
|
Update orm_querym2m.go
|
2015-11-19 14:30:14 +02:00 |
|
astaxie
|
25bec8bbe9
|
Merge pull request #1381 from ADone/m2m_reverse_bug
fix #671
|
2015-11-04 23:20:22 +08:00 |
|
astaxie
|
a257a924a1
|
Merge pull request #1379 from pjoe/non_int_fk
orm: Fix handling of rel(fk) to model with string pk
|
2015-11-04 22:26:33 +08:00 |
|
Pelle Johnsen
|
174e758d19
|
Fix dbBase.Update not returning error
|
2015-09-28 14:07:35 +02:00 |
|
Pelle Johnsen
|
cfcce4f5dc
|
Fix handling of rel(fk) to model with string pk
|
2015-09-22 12:23:51 +02:00 |
|
astaxie
|
4823a0f114
|
remove the dead code
|
2015-09-17 23:47:26 +08:00 |
|
astaxie
|
3df0fa462d
|
golint tidb
|
2015-09-17 23:00:05 +08:00 |
|
ngaut
|
09b7457ac6
|
orm_test: Skip relation test
|
2015-09-17 17:05:40 +08:00 |
|
ngaut
|
c841a77ad6
|
Orm: Add tidb for query builder
|
2015-09-17 17:04:23 +08:00 |
|
ngaut
|
c73e0395ed
|
Orm: Support TiDB
|
2015-09-17 17:04:23 +08:00 |
|
astaxie
|
68ec133aa8
|
golint orm
|
2015-09-12 21:46:43 +08:00 |
|
f0r
|
a074df9c2e
|
为querySeter添加GroupBy方法
|
2015-09-03 00:45:09 +08:00 |
|
Pelle Johnsen
|
0c33673197
|
Revert spaces > tabs change
|
2015-08-24 09:41:10 +02:00 |
|
Pelle Johnsen
|
19d82ab62c
|
Fix #1274: Add QuerySeter.Distinct()
|
2015-07-22 18:12:57 +02:00 |
|
Artem Nistratov
|
5612f61a93
|
fix #671
|
2015-07-08 17:42:00 +03:00 |
|
空见
|
bbb6f31f16
|
support eq&ne for orm
|
2015-06-09 10:18:21 +08:00 |
|
Trần Văn Thanh
|
0222b8d693
|
fixed: when RelatedSel have multi string/relation, it only get last string
|
2015-05-25 09:10:36 +08:00 |
|
astaxie
|
1d8afdc9c9
|
gofmt -s & go_vet
|
2015-05-25 09:10:34 +08:00 |
|
astaxie
|
020bfbcc9c
|
Merge branch 'develop'
|
2015-02-27 22:47:59 +08:00 |
|
astaxie
|
6d313aa15f
|
fix #985
|
2015-02-27 22:37:41 +08:00 |
|
astaxie
|
433e8f2ce3
|
Revert "Add GroupBy to QuerySeter"
|
2015-02-14 20:40:43 +08:00 |
|
astaxie
|
22ba7fdce4
|
Merge pull request #1000 from pdf/group_by_queryseter
Add GroupBy to QuerySeter
|
2015-02-14 20:33:06 +08:00 |
|
Hubery
|
8bd902814f
|
Transaction
err处理写反了
|
2015-01-13 11:09:43 +08:00 |
|
Peter Fern
|
3731088b4a
|
Add GroupBy to QuerySeter
Adds support for GroupBy to QuerySeter SELECT operations.
|
2015-01-10 15:26:41 +11:00 |
|
supar
|
1a1b0c14b9
|
Add attribute default to the column on create or alter commands. Skip columns which are keys and date or time data type
|
2014-11-06 17:43:53 +03:00 |
|
astaxie
|
90caeb4cf7
|
Revert "Add column default attribute"
|
2014-10-26 10:41:22 +08:00 |
|
astaxie
|
6c9249034d
|
Merge pull request #887 from supar/add-column-default-attribute
Add column default attribute
|
2014-10-26 10:28:56 +08:00 |
|
supar
|
6f5162461e
|
Add column DEFAULT attribute. Do not add if field is key or in
relations.
|
2014-10-24 14:51:35 +04:00 |
|
supar
|
c34c514bba
|
Skip add DEFAULT if the field is in relations (rel or reverse)
|
2014-10-24 14:37:46 +04:00 |
|
astaxie
|
8ac2b9bf66
|
Merge branch 'master' into develop
|
2014-10-24 15:10:11 +08:00 |
|
astaxie
|
767083bd56
|
Revert "Add column default attribute"
|
2014-10-24 14:58:17 +08:00 |
|
astaxie
|
1a79513293
|
Merge branch 'master' into develop
|
2014-10-24 14:50:53 +08:00 |
|
supar
|
ab28edaf25
|
Fix comma in the switch, fix wronf function name
|
2014-10-17 13:02:18 +04:00 |
|
supar
|
04431a7a15
|
Fix function name fmt.Stprintf -> fmt.Sprintf
|
2014-10-17 12:59:24 +04:00 |
|
supar
|
b00c42b3df
|
Fix undefind variable fieldType
|
2014-10-17 12:56:44 +04:00 |
|
supar
|
4cae7af3f9
|
Add attribute DEFAULT '' to the CREAT, ALTER constructors
|
2014-10-17 12:53:59 +04:00 |
|
supar
|
e4988b714e
|
Add property colDefault to fieldInfo object, set its true if there is
orm configuration default `orm:"default(1)"`
|
2014-10-17 12:27:53 +04:00 |
|
ZhengYang
|
1f9281c830
|
minor code refactor
|
2014-09-11 15:17:48 +08:00 |
|
ZhengYang
|
ccab9a7044
|
add more sql keywords
|
2014-09-11 13:48:39 +08:00 |
|
astaxie
|
9013f5c6c7
|
Merge pull request #808 from ZhengYang/develop
more complete support for sql language
|
2014-09-09 14:21:49 +08:00 |
|
Zheng Yang
|
29b7ff84e1
|
more complete support for sql language
|
2014-09-09 14:17:12 +08:00 |
|
astaxie
|
fb0cc55822
|
update the orm read me
|
2014-09-09 11:55:28 +08:00 |
|
Zheng Yang
|
38eb29fa7b
|
err msg spell correction
|
2014-09-08 18:41:42 +08:00 |
|