Commit Graph

1349 Commits

Author SHA1 Message Date
Lunny Xiao 9872e133cf
upgrade core (#1440) 2019-09-28 10:55:12 +08:00
Lunny Xiao d76126b2bd
add tests (#1439) 2019-09-27 23:05:23 +08:00
Lunny Xiao 3f2ca6e741
add go1.13 tests on drone (#1416) 2019-09-26 11:01:55 +08:00
Lunny Xiao 71947cf034
Fix bug on insert where (#1436)
* fix bug on insert where

* fix bug

* fix lint
2019-09-26 01:29:02 +08:00
Lunny Xiao 691f6e7698
fix bug when insert multiple slices with customize table name (#1433)
* fix bug when insert multiple slices with customize table name

* fix tests on mssql

* fix tests
2019-09-25 16:42:24 +08:00
Lunny Xiao 59ed80ce1a
fix insert where with bool bug on mssql (#1432) 2019-09-24 16:05:35 +08:00
Lunny Xiao 2fbb9cd8de
fix setexpr missing big quotes (#1431)
* fix setexpr missing big quotes

* fix tests

* fix tests
2019-09-24 12:58:25 +08:00
Lunny Xiao 6d11913765
Add support subquery on SetExpr (#1428)
* add support subquery on SetExpr

* fix tests
2019-09-23 23:34:26 +08:00
Lunny Xiao 201839c092
fix go mod (#1427) 2019-09-23 00:13:52 +08:00
Lunny Xiao d4419ac496
fix tests (#1429) 2019-09-22 23:13:55 +08:00
Lunny Xiao 57a7e4421e
Use strings.Builder instead of builder.StringBuilder (#1417)
* use strings.Builder instead of builder.StringBuilder

* fix dependency

* fix dependency
2019-09-06 22:15:04 +08:00
yudppp 61f1d19281 Remove unuse get cols code (#1413) 2019-09-05 16:14:27 +08:00
Lunny Xiao 76ca740a62
Add mssql ci test (#1410)
* add mssql ci test

* fix drone test
2019-09-04 12:33:44 +08:00
Lunny Xiao 17592d96b3
Add insert select where support (#1401) 2019-08-22 23:40:23 +08:00
Lunny Xiao b78ac8ce0a Use drone new format (#1388)
* use drone new format
2019-08-14 23:46:40 +08:00
Lunny Xiao ce79b1cf28 fix get customize type bug (#1382) 2019-08-05 17:05:42 +08:00
Lunny Xiao 9681be3e4d fix bugs (#1375) 2019-07-30 16:35:36 +08:00
Lunny Xiao 2ad174c078 update drone (#1374) 2019-07-30 15:31:23 +08:00
Lunny Xiao 73a7003f43 Add tests for get var (#1305)
* add test for SQL get
* fix tests
2019-07-30 00:02:45 +08:00
Lunny Xiao a691000f06 fix error when get null var (#890)
* fix error when get null var
* add support get for null var
* fix bug
2019-07-29 23:32:32 +08:00
BetaCat b757473de7 Remove quotestr totally (#1366)
* remove QuoteStr() totally

* update xorm.core -> v0.7.0

* update dialect Quote
2019-07-24 14:38:05 +08:00
BetaCat 4b0ff8ad27 remove QuoteStr() usage in dialects (#1364) 2019-07-24 13:22:14 +08:00
BetaCat 9b08f9494f document of FindAndCount() (#1365) 2019-07-24 13:02:59 +08:00
BetaCat 18b32486cf remove QuoteStr() usage (#1360) 2019-07-24 09:41:06 +08:00
BetaCat 674c9089df make sure timeout in context timeout test (#1363) 2019-07-23 15:35:33 +08:00
Cheng Lu 62d884e8f1 use alias 'as.*' in oracle query with join (#1355) 2019-07-16 09:21:31 +08:00
Lunny Xiao f3e6c3a26b
fix go mod (#1350) 2019-07-07 20:06:42 +08:00
Talha Ansari 9016f95a15 reflect.Value.Bytes() should only be called when reflect.Value.Kind() is reflect.Slice, and not reflect.Array (#1346) 2019-07-05 10:59:57 +08:00
Marián Skrip 4c806608ab Allow adding prefix for fields with `extends` tag (#1284)
Added new syntax like `extends('Prefix')` to enable matching all
extended fields as 'PrefixFieldName'.

Close go-xorm/xorm#1270
2019-06-23 10:44:44 +08:00
Lunny Xiao f1b4f83684
fix no rows return error when close (#1334) 2019-06-20 23:12:08 +08:00
__simple d0827bfc00 Update README_CN.md (#1331)
修改错别字
2019-06-19 10:36:23 +08:00
Lunny Xiao c9b14f9487
move depends package from github.com to customize domain (#1327) 2019-06-17 13:38:13 +08:00
Lunny Xiao 7c4e044547
fix show SQL when set logger (#1315) 2019-06-06 14:26:23 +08:00
Masaki.Yamamoto 8a61b3a8a9 Fix spelling inconsistency (#1317) 2019-06-06 10:55:52 +08:00
StarUDream 6a1dd59737 add quote within the table name (#1285) 2019-05-06 16:23:39 +08:00
宋小北 ce804aee6c Unknown colType DOUBLE UNSIGNED (#1274) 2019-04-19 16:28:27 +08:00
Hac 8557fec079 Let defaultJsonHandler be a json handler interface. (#1269) 2019-04-11 16:33:37 +08:00
jixiuf 06528a4d83 add func (eg *EngineGroup) Context(ctx context.Context) *Session (#1267) 2019-04-10 11:27:55 +08:00
techknowlogick 617e0ae295 clean up go modules (#1260) 2019-03-31 19:39:43 +08:00
Lunny Xiao 5ef12eab78
make json as interface (#1248) 2019-03-29 14:32:36 +08:00
Wendell Sun 1c2d47e0da add deleted condition for Update operation (#1249) 2019-03-13 19:02:41 +08:00
yanser c790592482 Update README.md file (#1246)
Update README
2019-03-09 23:07:35 +08:00
faith e410f04aaf Update README.md (#1228)
sess 修改为 session
2019-02-13 14:43:01 +08:00
button-chen ee64beb73b fix bug in oracle: engine.Table(tablename).Exist() (#1227) 2019-02-13 12:37:14 +08:00
Lunny Xiao 1bcc25420d
Add tests for tidb (#1207)
* add tests for tidb

* ignore select for update tests
2019-02-01 11:31:51 +08:00
xutao 52b85c2f7e fix excute GetIndexes error with sepcial postgresql index (#1215)
Fixed #1183
2019-01-31 14:48:55 +08:00
Lunny Xiao af992d69a7
update go mod (#1212) 2019-01-24 21:13:39 +08:00
Lunny Xiao 611c31fa18
update go mod (#1211) 2019-01-24 21:04:41 +08:00
Lunny Xiao 18f6311ad1
Update go mod (#1210)
* update go mod dependency files

* add go mod build on ci
2019-01-24 15:20:02 +08:00
Lunny Xiao 0d2c78dab6
improve tests (#1206) 2019-01-23 16:11:07 +08:00