Lunny Xiao
e88d320934
Merge branch 'master' of github.com:go-xorm/xorm
2018-08-09 22:38:41 +08:00
Lunny Xiao
8668e25c4e
update CI
2018-08-09 22:37:36 +08:00
qianguozheng
0b0a419f59
Fix compile error ( #1042 )
...
engine.ShowSQL is a method, not variable anymore
2018-08-09 21:07:07 +08:00
Lunny Xiao
1eee8a367e
fix #997 group by ( #1065 )
2018-08-09 14:37:44 +08:00
Lunny Xiao
4ce90f9a62
Exec support builder ( #1064 )
2018-08-09 13:09:54 +08:00
陈文强
4b224e8823
Fix genUpdateColumns() should not ignore soft delete column when unscoped ( #1051 )
2018-07-26 20:05:25 +08:00
Bo-Yi Wu
545f30f5cc
just return error instead. ( #1046 )
2018-07-22 22:43:48 +08:00
Lunny Xiao
ad69f7d8f0
performance improvement via string builder ( #1036 )
2018-07-11 08:59:00 +08:00
DrWrong(Yuhang)
f16ce722ec
Fix BUG: Update statement build function should ingore ONLYFROMDB fields ( #1012 )
...
* Fix BUG: Update statement build function should ingore ONLYFROMDB fields
* Add test case
* Modify test case
2018-06-23 14:59:01 +08:00
Lunny Xiao
1de9d224b6
don't keep packages cache ( #1016 )
2018-06-23 13:49:32 +08:00
Lunny Xiao
ee5b31ecae
add support for mulitple transactions on one session ( #1015 )
2018-06-20 17:14:43 +08:00
DrWrong(Yuhang)
a8bd843a55
Change pgx driver ( #996 )
...
* Change pgx driver
* Add test case
* Fix bug
2018-06-06 16:43:14 +08:00
Lunny Xiao
ab17aa2203
Add more test for query ( #932 )
...
* add more test for query
* fix tests
2018-05-08 17:44:15 +08:00
Lunny Xiao
d85bb4911c
add opencollective ( #926 )
2018-05-04 13:45:50 +08:00
Lunny Xiao
0f339654dd
fix cols and distinct conflicts ( #927 )
2018-05-04 13:09:54 +08:00
Lunny Xiao
12e0367559
add more tests for Sync2 ( #925 )
2018-05-04 10:51:34 +08:00
Lunny Xiao
ae0364a057
add more test for join find ( #922 )
2018-05-02 17:53:17 +08:00
Lunny Xiao
a491afac18
fix tablename bug when sync2 ( #921 )
2018-05-02 16:46:39 +08:00
Lunny Xiao
9680df5445
remove trace code
2018-05-02 13:41:40 +08:00
Lunny Xiao
d1e0fe932e
add testing for update via condition bean ( #918 )
2018-04-29 22:09:22 +08:00
Lunny Xiao
44623fc395
Cache limit test ( #917 )
...
* add test for cache with limit
* change the version
2018-04-29 20:36:55 +08:00
Lunny Xiao
e3550c7969
fix some bug on extends find ( #916 )
2018-04-29 19:58:25 +08:00
谷溪
d966376e44
grammar mistakes in output error message ( #909 )
...
* grammar mistakes in output error message
`Not found table` => `Table not found`
`Field is not exist` => `Field does not exist`
* Update error.go
2018-04-23 16:57:59 +08:00
Lunny Xiao
e5c980f7b6
add test for insert anonymous struct ( #904 )
2018-04-19 08:25:31 +08:00
Lunny Xiao
fc1b13e0d8
v0.6.6
2018-04-13 17:45:25 +08:00
Lunny Xiao
636ccefbc7
fix update map with table name ( #888 )
...
* fix update map with table name
* fix bug update map when cache enabled
* refactor cacheInsert
* fix cache test
2018-04-11 23:09:46 +08:00
Lunny Xiao
bfdf773629
fix tablename bug ( #887 )
...
* fix tablename bug
* fix test
2018-04-11 18:09:16 +08:00
Lunny Xiao
5c2af83817
add test and remove unused warn log ( #886 )
2018-04-11 15:39:04 +08:00
Lunny Xiao
c8ae6fa95b
add test for tablename ( #885 )
2018-04-11 13:53:09 +08:00
Lunny Xiao
3ef987ad24
add test for update map ( #883 )
2018-04-11 13:37:05 +08:00
Lunny Xiao
6542364944
refactor buildUpdates ( #884 )
2018-04-11 12:57:13 +08:00
Lunny Xiao
fd4a80bcad
fix id condition not used bug ( #882 )
2018-04-11 11:52:16 +08:00
Lunny Xiao
590c04df2d
Add test for count with orderby and limit ( #880 )
...
* add test for count with orderby and limit
* fix the bug
2018-04-10 12:52:47 +08:00
Lunny Xiao
99ab88dbcf
add test for (id) replace ( #879 )
2018-04-10 11:28:45 +08:00
Lunny Xiao
0649f6570d
add test for resolve #797 ( #878 )
2018-04-10 11:27:42 +08:00
Lunny Xiao
e98616d656
update README
2018-04-10 10:18:32 +08:00
Lunny Xiao
bd20c37bfb
Add SetSchema for engine ( #876 )
...
* add SetSchema for engine
* fix user
* fix postgres with schema
* fix test
* fix test
* fix test
* fix tablename
* refactor tableName
* fix schema support
* improve the interface of EngineInterface
2018-04-10 09:50:29 +08:00
Bo-Yi Wu
0b841796fa
fix: add const value for public scheam name of postgres. ( #877 )
2018-04-09 14:57:11 +08:00
Bo-Yi Wu
468154dfd5
chore(postgres): support add schema as prefix of table name ( #875 )
...
* chore(postgres): support add schema as prefix of table name
* fix: ignore DefaultPostgresSchema
* docs: [ci skip] add desc for postgres.
2018-04-08 23:49:59 +08:00
Lunny Xiao
9242b921d8
Join add TableName interface support ( #874 )
...
* Join add TableName interface support
* add some tests
* Join add struct support
* more tests
2018-04-08 21:54:24 +08:00
Bo-Yi Wu
149e6abf07
fix: gofmt error. ( #873 )
2018-04-08 08:53:15 +08:00
Lunny Xiao
b8dec64610
fix findandcount bug with order ( #869 )
2018-03-26 10:25:39 +08:00
Lunny Xiao
18b1524be4
add vgo support
2018-03-22 23:26:08 +08:00
m2nlight
11743c1a80
Add NewEngineWithParams method can call SetParams for dialect. The dialect_… ( #798 )
...
* Add NewEngine2 method can call SetArguments for dialect. The dialect_mysql support ROW_FORMAT in createtable. (https://github.com/go-xorm/xorm/issues/793 )
* Rename NewEngine2 to NewEngineWithParams
* rename SetArguments to SetParams
* rename SetArguments to SetParmas
2018-03-08 09:30:38 +08:00
Lunny Xiao
b462eded54
fix sync bug ( #857 )
2018-03-05 18:01:47 +08:00
Lunny Xiao
60090fa5e0
update README
2018-02-27 11:18:10 +08:00
Lunny Xiao
17ee4be6c1
fix findandcount bug ( #853 )
2018-02-24 17:08:34 +08:00
Lunny Xiao
a4378c8abd
fix bug on findandcount ( #852 )
2018-02-24 16:12:53 +08:00
Lunny Xiao
cea778734c
fix FindAndCount bug with Limit ( #851 )
2018-02-22 20:24:40 -06:00
Lunny Xiao
2e295feace
Improve schema support on postgres dialect ( #845 )
...
* add schema on postgres dialect
* fix to support no specific schema when postgres
2018-02-08 20:43:17 -06:00