Commit Graph

16 Commits

Author SHA1 Message Date
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