Lunny Xiao
a7e010df2d
refactor insert condition generation ( #1998 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1998
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-20 13:46:24 +08:00
Lunny Xiao
86775af2ec
refactor and add setjson function ( #1997 )
...
Fix #1992
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1997
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-19 13:43:53 +08:00
Lunny Xiao
b296c8f1d7
Exec with time arg now will obey time zone settings on engine ( #1989 )
...
Fix #1770
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1989
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-14 12:20:26 +08:00
Lunny Xiao
a5030dc7a4
refactor get ( #1967 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1967
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-06 16:06:04 +08:00
Lunny Xiao
d0e5dba40e
Query interface ( #1965 )
...
refactor query interface
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1965
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-04 21:23:17 +08:00
Lunny Xiao
65846bacc3
Improve QueryString performance ( #1962 )
...
As title.
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1962
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-07-02 11:25:20 +08:00
Lunny Xiao
2b62dc5a51
Move statement as a sub package ( #1564 )
...
Fix test
Fix bug
Move statement as a sub package
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1564
2020-02-28 12:29:08 +00:00
Lunny Xiao
a421331cf9
Improve some codes ( #1551 )
...
Improve code
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1551
2020-02-27 01:30:06 +00:00
Lunny Xiao
390effb8a4
Move zero functions to a standalone package ( #1548 )
...
Remove depreciated functions and move some functions to schemas
Move zero functions to a standalone package
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1548
2020-02-26 12:45:10 +00:00
Lunny Xiao
bf25a77bca
Merge core package back into the main repository and split into serval sub packages. ( #1543 )
...
Fix test
Improve fmt
update go.mod
Move core as a sub package
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1543
2020-02-24 08:53:18 +00:00
Lunny Xiao
c9b14f9487
move depends package from github.com to customize domain ( #1327 )
2019-06-17 13:38:13 +08:00
Masaki.Yamamoto
8a61b3a8a9
Fix spelling inconsistency ( #1317 )
2019-06-06 10:55:52 +08:00
Lunny Xiao
1a7b21155b
Add query slice string ( #1114 )
...
* add query slice string
* fix tests
2018-10-15 13:03:43 +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
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
cea778734c
fix FindAndCount bug with Limit ( #851 )
2018-02-22 20:24:40 -06:00
Lunny Xiao
afd1ab91e7
Query add builder support ( #829 )
2018-01-18 10:09:37 -06:00
Lunny Xiao
a6cc098689
QueryString and QueryInterface supports composite conditions ( #784 )
2017-11-20 16:14:27 +08:00
Lunny Xiao
de4b2f9c8e
Query now could work with Where, In, SQL and other condition methods ( #776 )
2017-11-15 11:34:59 +08:00
Lunny Xiao
aab77ab84c
refactor for value2String ( #713 )
2017-09-09 19:21:05 +08:00
Lunny Xiao
8439b76875
fix querystring bit type ( #711 )
...
* fix querystring bit type
* fix bit type on postgres
2017-09-09 17:10:15 +08:00
Lunny Xiao
763e1b21e6
Add query interface ( #695 )
...
* add query interface
* fix tests of query interface
2017-08-27 22:09:31 +08:00