Lunny Xiao
607f715634
Move convert internal ( #2355 )
...
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2355
2023-10-28 03:30:11 +00:00
Lunny Xiao
42553b7477
Remove cache features ( #2347 )
...
The cache feature is not used frequently but needs more time to maintain.
I think there are many machism to handle the cache out of ORM. So let's remove it.
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2347
2023-10-27 15:48:07 +00:00
Lunny Xiao
78bb4c711d
Improve codes ( #1630 )
...
Improve codes
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1630
2020-03-26 13:24:11 +00:00
Lunny Xiao
f238bb9d07
Improve insert ( #1583 )
...
Improve insert
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1583
2020-03-08 05:14:28 +00:00
Lunny Xiao
f51d28304a
Move some codes to statement sub package ( #1574 )
...
revert change for delete
refactor new engine
fix tests
Move some codes to statement sub package
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1574
2020-03-06 06:43:49 +00:00
Lunny Xiao
7278e2ab71
Improve tests ( #1572 )
...
fix test
Improve tests
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1572
2020-03-04 03:30:21 +00: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
2513e09caa
Add test for second insert error ( #1527 )
...
Add test for second insert error
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1527
2020-02-20 07:52:44 +00:00
Lunny Xiao
c68531db53
Add lasterror on statement to return errors when chain operations ( #1151 )
...
* add lasterror on statement to return errors when chain operations
* add tests for last error
* refactor error
2019-01-20 11:45:42 +08:00
Lunny Xiao
ae0364a057
add more test for join find ( #922 )
2018-05-02 17:53:17 +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
5c2af83817
add test and remove unused warn log ( #886 )
2018-04-11 15:39:04 +08:00
Lunny Xiao
865979f716
add support for map[string]interface{} as condition on Update and Where ( #764 )
2017-10-30 11:07:56 +08:00
Lunny Xiao
c60f2467a9
some golints fixed
2016-12-11 12:45:37 +08:00
Lunny Xiao
1992491553
license
2015-04-28 16:25:04 +08:00
Lunny Xiao
59412a951c
use tabs
2013-12-18 11:31:32 +08:00
Lunny Xiao
c70b4ad8d3
replace tab to 4 spaces for all codes
2013-12-09 10:29:23 +08:00
Lunny Xiao
2caed88b82
added xorm reverse tool
2013-10-12 23:16:51 +08:00
Lunny Xiao
8294b99ea6
Return error if Delete has no any condition
2013-09-30 22:22:54 +08:00
Lunny Xiao
29fe0b6f80
added NoAutoTime method; added unfinished cache system, defaultly it's disabled.
2013-09-17 17:36:34 +08:00
Lunny Xiao
c701db0913
little improved & QuickStart.md
2013-09-11 16:23:10 +08:00
Lunny Xiao
3a868531e9
add support for slice, array, map, custom types fields of struct & fixed #4
2013-09-05 23:20:52 +08:00
Lunny Xiao
f817b30f28
Update() add map[string]interface{} as update columns
2013-08-29 13:18:02 +08:00