Commit Graph

1654 Commits

Author SHA1 Message Date
Lunny Xiao 26dd15e8ec Fix bug 2021-08-24 09:49:35 +08:00
Lunny Xiao 5f69562663 update go.sum 2021-08-24 09:49:35 +08:00
Lunny Xiao 3bb240a13d Fix bug 2021-08-24 09:49:35 +08:00
Lunny Xiao 8978ac5b49 Fix tests 2021-08-24 09:49:35 +08:00
Lunny Xiao 9cd8d8ff2c Fix tests 2021-08-24 09:49:35 +08:00
Lunny Xiao aec6c89568 Fix postgres bug 2021-08-24 09:49:35 +08:00
Lunny Xiao 2ad8cfb1e8 Fix bug 2021-08-24 09:49:35 +08:00
Lunny Xiao 7fc2459df9 drop duplicated feature 2021-08-24 09:49:35 +08:00
Lunny Xiao dc980514bd Fix more bugs 2021-08-24 09:49:34 +08:00
Lunny Xiao b3bf20a83e Fix bug 2021-08-24 09:48:33 +08:00
Lunny Xiao a3c96246ec Fix bug 2021-08-24 09:48:33 +08:00
Lunny Xiao 22f9f789d5 remove convert.go 2021-08-24 09:48:33 +08:00
Lunny Xiao b5893755cb Fix tests 2021-08-24 09:48:31 +08:00
Lunny Xiao 20eb15c4c1 Fix drone 2021-08-24 09:48:18 +08:00
Lunny Xiao 7ac11aadef Fix test 2021-08-24 09:48:18 +08:00
Lunny Xiao 9a86fdec9f fix test 2021-08-24 09:48:18 +08:00
Lunny Xiao 4459013c0a refactor conversion 2021-08-24 09:48:18 +08:00
Lunny Xiao 231960a0c2 Fix types 2021-08-24 09:48:18 +08:00
Lunny Xiao 99262651a6 Fix test 2021-08-24 09:48:18 +08:00
Lunny Xiao 9a5cd536b8 Fix build 2021-08-24 09:48:15 +08:00
Lunny Xiao ddb51cfe8e fix test 2021-08-24 09:47:56 +08:00
Lunny Xiao 38042fbc8c support insert multiple records 2021-08-24 09:47:56 +08:00
Lunny Xiao ffa4bdb7d8 fix insert 2021-08-24 09:47:53 +08:00
Lunny Xiao 21382ced44 Fix test 2021-08-24 09:46:26 +08:00
Lunny Xiao 9296cfdcd7 Fix get columns 2021-08-24 09:46:26 +08:00
Lunny Xiao 3b48a044f6 Update dialect of dameng 2021-08-24 09:46:26 +08:00
Lunny Xiao 214f12dce4 Fix test 2021-08-24 09:46:26 +08:00
Lunny Xiao bf03fbd348 Fix driver 2021-08-24 09:46:26 +08:00
Lunny Xiao 06042867f2 Fix test 2021-08-24 09:46:26 +08:00
Lunny Xiao 2ab9bb6b59 fix drone 2021-08-24 09:46:26 +08:00
Lunny Xiao da5cb76f3f add drone 2021-08-24 09:46:26 +08:00
Lunny Xiao 20b8a90e17 default user for dm 2021-08-24 09:46:26 +08:00
Lunny Xiao 9c86f5acaa Add dameng support 2021-08-24 09:46:26 +08:00
yedf 7cd6a74c9f expose sql.Tx (#2036)
Co-authored-by: yedongfu <dongfuye@163.com>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2036
Co-authored-by: yedf <yedf@noreply.gitea.io>
Co-committed-by: yedf <yedf@noreply.gitea.io>
2021-08-21 11:30:31 +08:00
Lunny Xiao 7d458b4fcf refactor create table for postgres (#2034)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2034
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-14 10:57:47 +08:00
Lunny Xiao dbc2de380b Refactor find (#2031)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2031
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-11 21:17:23 +08:00
Lunny Xiao 289c27ebec
add changelog for 1.2.2 2021-08-11 09:29:27 +08:00
Lunny Xiao cace6862e2 Move convert back to xorm.io/xorm/convert (#2030)
Since `conversion.Conversion` has been referenced by external package, it should not be moved as internal package.

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2030
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-10 23:20:53 +08:00
Lunny Xiao fae164488c Fix problem on README (#2028)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2028
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-08 15:35:44 +08:00
Lunny Xiao 3a8ae761c5
Add changelog for v1.2.1 2021-08-08 11:01:02 +08:00
Lunny Xiao ad1a386b5e Fix wrong comment (#2027)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2027
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-08 11:00:11 +08:00
Lunny Xiao 4499c8c5b5 Fix import file bug (#2025)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2025
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-06 11:26:22 +08:00
Lunny Xiao bd1ca33ea5 Update docs for pgx (#2024)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2024
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-05 14:47:25 +08:00
Lunny Xiao 0b3cc25a10 Add pgx driver support (#1795)
Fix #858

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1795
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-05 14:04:11 +08:00
Lunny Xiao 42c2f158e8 Fix timesatmp (#2021)
Now `Datetime` support `Datime(6)` to indicate the time scale. For different database , the max scale is not different.

`Datetime` means `Datetime(0)`.

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2021
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-04 16:12:10 +08:00
Lunny Xiao f22b0cc369
Update changelog for 1.2.0 2021-08-04 09:20:54 +08:00
Lunny Xiao 2afa222871 Fix deleted column (#2014)
Fix #2013

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2014
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-29 19:51:10 +08:00
Lunny Xiao aeed22016f Support batch insert map (#2019)
Fix #1767

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2019
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-29 16:12:09 +08:00
Lunny Xiao 4383669bcd Fix DBMetas returned unsigned tinyint (#2017)
Fix #2011

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2017
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-29 11:04:43 +08:00
Lunny Xiao 5240459858 Move assign functions to convert package (#2015)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2015
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-28 15:15:35 +08:00