Lunny Xiao
5a5375a170
Improve statement ( #1549 )
...
Fix cache bug
Improve statement
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1549
2020-02-27 00:34:16 +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
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
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
Lunny Xiao
c9b14f9487
move depends package from github.com to customize domain ( #1327 )
2019-06-17 13:38:13 +08: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
Slory7
b07c406703
fix session_find & session_get getCacher param error ( #1131 )
...
* fix session_delete getCacher tablename param error
* fix session_find & session_get getCacher param error
2018-11-03 00:17:11 +08:00
Lunny Xiao
7a9249de33
Get adds context cache feature ( #1102 )
...
* context
* add context cache feature
* remove global context cache
* remove global context cache
* reset statment
* fix bug
* remove unused params
* refactor ContextCache
* refactor ContextCache
* update README
* update README
* disable global cache on context cache test
2018-09-25 21:31:44 +08:00
Lorenz Brun
c5c275a261
Propagate errors from SQL row reading ( #1079 )
...
Currently errors while data is being read are being swallowed and result in a truncated result set, this fixes that and properly returns an error and not an incomplete result.
2018-08-23 14:11:23 +08:00
Lunny Xiao
636ccefbc7
fix update map with table name ( #888 )
...
* fix update map with table name
* fix bug update map when cache enabled
* refactor cacheInsert
* fix cache test
2018-04-11 23:09:46 +08:00
Lunny Xiao
bd20c37bfb
Add SetSchema for engine ( #876 )
...
* add SetSchema for engine
* fix user
* fix postgres with schema
* fix test
* fix test
* fix test
* fix tablename
* refactor tableName
* fix schema support
* improve the interface of EngineInterface
2018-04-10 09:50:29 +08:00
Lunny Xiao
2bfe0b4d5e
fix Get sql.Nullxx ( #805 )
2017-12-13 23:04:41 +08:00
Lunny Xiao
29d4a0330a
improve processors ( #743 )
2017-09-30 09:26:13 +08:00
Lunny Xiao
c29485f954
fix bugs on Get ( #718 )
2017-09-10 20:58:18 +08:00
Lunny Xiao
265dd66928
fix bug on cache delete ( #703 )
...
* fix bug on cache delete
* fix cache issues and improve the tests
2017-09-09 11:03:34 +08:00
Lunny Xiao
bb639f6700
refactor query functions ( #689 )
...
* refactor query functions
* remove unused function
* remove unnecessary resetStatement and some improvements
* rename all Id to ID
2017-08-27 15:50:43 +08:00
Lunny Xiao
fce6d4a34c
add more error check on Get ( #680 )
2017-08-07 16:51:14 +08:00
Lunny Xiao
f1aebd5729
hide all undocument variables on session ( #660 )
2017-07-27 13:32:35 +08:00
Lunny Xiao
32d688fd96
close rows if possible ( #629 )
2017-06-25 17:35:04 +08:00
Lunny Xiao
1e055bac01
fix bug and catch more tests ( #613 )
2017-06-08 19:38:52 +08:00
Lunny Xiao
aae045f9aa
fix #563
2017-04-10 19:45:00 +08:00
Lunny Xiao
5ebae720bd
add Scan features to Get method
2017-04-01 10:09:00 +08:00
Lunny Xiao
d170089adf
refactor rowsbean
2017-03-14 23:03:27 +08:00
Lunny Xiao
c8ac6bb65c
Ask Get parameter is pointer and prepare for Get non-struct
2017-02-21 11:06:40 +08:00
Lunny Xiao
1bc93ba022
bug fixed for BeforeSet and AfterSet on Find a Map
2017-02-20 17:51:59 +08:00
Lunny Xiao
664a52a6d7
some gofmt & golint fixed
2017-01-09 09:52:23 +08:00
Lunny Xiao
44b70cccf4
add Find ints support & split session into multiple files
2017-01-03 13:31:47 +08:00