Commit Graph

1550 Commits

Author SHA1 Message Date
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
longdahai 0f412da7e9 Add Year type for supporting mysql (#58) 2019-09-06 12:36:29 +00: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 b7dc77e1bf Fix flag.Parse on init (#57) 2019-08-30 03:53:40 +00: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
helong zhang 25c56ece6d Remove QuoteStr() in interface Dialect (#55) 2019-07-24 05:07:17 +00: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
helong zhang bac7a226ec Add missing whitespace in StringNoPk in column.go (#54) 2019-07-23 07:26:21 +00:00
zhanghelong 65822bd505 Remove func QuoteStr() in interface Dialect (#51) 2019-07-16 08:03:49 +00:00
Cheng Lu 62d884e8f1 use alias 'as.*' in oracle query with join (#1355) 2019-07-16 09:21:31 +08:00
Lunny Xiao 5d3ffb50de lunny/fix_fmt_lint (#53) 2019-07-15 13:42:17 +00:00
Lunny Xiao 817c743b93 lunny/fix_drone (#52) 2019-07-15 08:27:12 +00: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
Lunny Xiao 7d1d621d68
update drone 2019-06-20 11:36:10 +08:00
Lunny Xiao bd33298550
update drone 2019-06-20 09:19:10 +08:00
Lunny Xiao 09e45b5cfc
update drone 2019-06-20 09:13:29 +08:00
Lunny Xiao fb78433782
comment go lint 2019-06-20 09:10:01 +08:00
Lunny Xiao 82a58f487d
add drone and update README 2019-06-19 17:40:11 +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 a31f536370
change package name to xorm.io/core 2019-06-17 13:27:01 +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