Lunny Xiao
da95db5ddc
fix bug when update with setexpr ( #1446 )
2019-10-02 08:14:48 +08:00
Lunny Xiao
6d11913765
Add support subquery on SetExpr ( #1428 )
...
* add support subquery on SetExpr
* fix tests
2019-09-23 23:34:26 +08:00
Lunny Xiao
57a7e4421e
Use strings.Builder instead of builder.StringBuilder ( #1417 )
...
* use strings.Builder instead of builder.StringBuilder
* fix dependency
* fix dependency
2019-09-06 22:15:04 +08:00
BetaCat
18b32486cf
remove QuoteStr() usage ( #1360 )
2019-07-24 09:41:06 +08:00
Cheng Lu
62d884e8f1
use alias 'as.*' in oracle query with join ( #1355 )
2019-07-16 09:21:31 +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
5ef12eab78
make json as interface ( #1248 )
2019-03-29 14:32:36 +08:00
Lunny Xiao
17b9cc7330
Add mssql ci test ( #1203 )
...
* add mssql ci test
* fix mssql ci
* check test databases
* fix ci
* fix postgres schema tests
* fix ci on postgres
* fix insert map bug
* fix insert map bug
* fix bug
* fix insert map bug
* fix create schema on tests
* fix mssql tests
* fix insert return id bugs on mssql
* add head comments
2019-01-22 23:59:58 +08:00
Lunny Xiao
731b056a56
Join support builder ( #1002 )
...
* join support builder
* add tests
* fix tests
* fix tests
* fix join sub query
2019-01-20 11:53:53 +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
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
Lunny Xiao
1eee8a367e
fix #997 group by ( #1065 )
2018-08-09 14:37:44 +08:00
Lunny Xiao
ad69f7d8f0
performance improvement via string builder ( #1036 )
2018-07-11 08:59:00 +08:00
DrWrong(Yuhang)
f16ce722ec
Fix BUG: Update statement build function should ingore ONLYFROMDB fields ( #1012 )
...
* Fix BUG: Update statement build function should ingore ONLYFROMDB fields
* Add test case
* Modify test case
2018-06-23 14:59:01 +08:00
Lunny Xiao
0f339654dd
fix cols and distinct conflicts ( #927 )
2018-05-04 13:09:54 +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
bfdf773629
fix tablename bug ( #887 )
...
* fix tablename bug
* fix test
2018-04-11 18:09:16 +08:00
Lunny Xiao
6542364944
refactor buildUpdates ( #884 )
2018-04-11 12:57:13 +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
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
9242b921d8
Join add TableName interface support ( #874 )
...
* Join add TableName interface support
* add some tests
* Join add struct support
* more tests
2018-04-08 21:54:24 +08:00
Lunny Xiao
cea778734c
fix FindAndCount bug with Limit ( #851 )
2018-02-22 20:24:40 -06:00
mzmuer
936cca7c69
mysql add column comment ( #783 )
2017-11-20 15:20:28 +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
c9690500fa
add buffer Iterate support ( #729 )
2017-09-19 20:59:41 +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
0fdfa8d8de
fix bug on update ( #676 )
2017-08-05 10:46:29 +08:00
Lunny Xiao
fbf37fc795
improve count usage ( #654 )
2017-07-25 16:50:20 +08:00
Lunny Xiao
dbc493df5e
multiple Cols support ( #653 )
2017-07-24 22:09:47 +08:00
Lunny Xiao
8cfde0eb4b
fix Conds bug on Find and add test for FindAndCount ( #652 )
2017-07-24 21:26:14 +08:00
Lunny Xiao
2af18acf72
add CondDeleted method ( #620 )
2017-06-15 20:09:46 +08:00
Lunny Xiao
1e055bac01
fix bug and catch more tests ( #613 )
2017-06-08 19:38:52 +08:00
Lunny Xiao
942887dea0
fix time issues and add some tests for time ( #604 )
...
* fix time issues and add some tests for time
* fix tests bug
* fix tests
* some fixes with tests and added mssql support
* fix tests
2017-06-02 16:12:50 +08:00
Lunny Xiao
8729bffe74
fix distinct & top conflict on mssql ( #596 )
2017-05-31 09:01:50 +08:00
Lunny Xiao
6b6721cccc
fix bug on sum
2017-04-17 15:52:52 +08:00
Lunny Xiao
15f11df2af
fix #570
2017-04-14 13:55:55 +08:00
Lunny Xiao
a0b6b62ba0
fix #570
2017-04-14 10:49:02 +08:00
Lunny Xiao
7e70eb8222
refactor automaptype
2017-04-02 18:02:47 +08:00
Lunny Xiao
5ebae720bd
add Scan features to Get method
2017-04-01 10:09:00 +08:00
Lunny Xiao
5789833408
first part to resolve #504
2017-03-27 15:45:15 +08:00
Lunny Xiao
91ea7427fe
add cond test and fix missing quote on sum
2017-03-26 20:37:04 +08:00
ZACH
24fae7b3b1
auto judge exist or not quote,then add or ignore ( #548 )
...
* fix IN and NotIN SQL not add quote
* auto judge exist or not quote,then add or ignore
* auto judge exist or not quote,then add or ignore
2017-03-23 15:22:06 +08:00
ZACH
70bc6741cf
fix IN and NotIN SQL not add quote ( #547 )
2017-03-23 14:23:52 +08:00
Lunny Xiao
0d9762712b
fix distinct & count bug
2017-03-11 21:24:37 +08:00
Lunny Xiao
e0276e0f48
remove unused method
2017-03-01 16:55:53 +08:00
Lunny Xiao
382b85d765
fix #516 , #536
2017-02-24 12:45:33 +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
Lunny Xiao
c60f2467a9
some golints fixed
2016-12-11 12:45:37 +08:00