Nash Tsai
|
5f7bf04b0c
|
performance optimization for Find(), 10000 times - MultiRead limit 100 from 24.57s to 5.29s
|
2014-08-22 00:47:19 +08:00 |
Lunny Xiao
|
c5a437680d
|
bug fixed for Desc & Asc
|
2014-08-18 21:20:18 +08:00 |
Nash Tsai
|
8164f74b64
|
update func (session *Session) cacheFind, if no cache hit, continue instead of return error
|
2014-08-18 16:02:24 +08:00 |
Nash Tsai
|
40f3ddd819
|
Merge remote-tracking branch 'origin/master' into feature/cacher-tag
|
2014-08-06 15:56:23 +08:00 |
Lunny Xiao
|
f3b3ef2934
|
Merge branch 'master' of github.com:go-xorm/xorm
|
2014-08-05 15:46:08 +08:00 |
Lunny Xiao
|
89dc7bb0f7
|
bug fixed for mssql limit
|
2014-08-05 15:45:54 +08:00 |
starChou
|
d22a247759
|
Update session.go
fix stmt query of 'Get function' bug when an error occurred
|
2014-07-31 15:30:42 +08:00 |
Nash Tsai
|
40d500a8b9
|
add Engine.LogSQLQueryTime and Engine.LogSQLExecutionTime for SQL execution time logging
|
2014-07-21 14:56:26 +08:00 |
kevinGunn
|
f040283a1f
|
add mothod Decr
|
2014-07-15 23:32:20 +08:00 |
kevinGunn
|
3c457a8cf0
|
add mothod Decr
|
2014-07-15 23:25:24 +08:00 |
Nicolas Duval
|
c9db8e93f7
|
Support uint64 with high bit set.
This limitation is due to "database/sql" go package implementation.
|
2014-07-11 10:40:41 -07:00 |
Lunny Xiao
|
244c0989f2
|
working on #140
|
2014-07-09 21:48:48 +08:00 |
Lunny Xiao
|
c039d40ada
|
bug fixed for joinstr when has two Join
|
2014-06-25 17:09:49 +08:00 |
Lunny Xiao
|
021ad08402
|
Merge branch 'bug'
|
2014-06-11 14:01:24 +08:00 |
Lunny Xiao
|
6384ada2bb
|
bug fixed
|
2014-05-31 12:19:46 +08:00 |
Alfred Hall
|
62e3e1508e
|
Satisfies the issue mentioned in #110. Introduces flag AutoResetStatement which is by default true, but setting it to false means the statement doesn't get reset. Calling .Init() or setting the flag back to true ensures normal behaviour.
Signed-off-by: Alfred Hall <ahall@ahall.org>
|
2014-05-30 16:28:51 +00:00 |
Lunny Xiao
|
e4f05916cb
|
add support for Join
|
2014-05-23 14:18:45 +08:00 |
Nash Tsai
|
f4b6ae069c
|
tidy up logSQL
|
2014-05-16 23:42:47 +08:00 |
Lunny Xiao
|
56967f80c8
|
bug fixed for go1.3beta
|
2014-05-12 23:27:15 +08:00 |
Lunny Xiao
|
78ddfebcfb
|
resolved #115
|
2014-05-09 21:53:00 +08:00 |
Lincoln Lee
|
acc01090c1
|
Fix method name in comment
|
2014-05-07 20:15:43 +08:00 |
Lunny Xiao
|
2ebacae199
|
add part support for ql
|
2014-05-07 15:56:33 +08:00 |
商讯在线
|
7bbbcba21b
|
support enum type for mysql
|
2014-05-05 22:26:17 +08:00 |
Lunny Xiao
|
9e147d2fde
|
add BeforeSet processor and Dump function
|
2014-05-04 13:53:38 +08:00 |
Lunny Xiao
|
685a4a63fd
|
bug fixed and docs improved
|
2014-05-02 08:48:51 +08:00 |
Lunny Xiao
|
1a53dc40e1
|
add support for ql
|
2014-04-29 14:16:53 +08:00 |
Lunny Xiao
|
129f77f43c
|
bug fixed
|
2014-04-23 14:01:53 +08:00 |
Lunny Xiao
|
8c79a0cc1d
|
new dialect interface
|
2014-04-23 14:01:04 +08:00 |
Lunny Xiao
|
00be2b792a
|
Merge branch 'master' of github.com:go-xorm/xorm
Conflicts:
engine.go
session.go
|
2014-04-21 11:13:53 +08:00 |
Nash Tsai
|
23a3beaced
|
convert to Engine's TZ location for TimeStruct when Get()
|
2014-04-21 09:58:12 +08:00 |
Nash Tsai
|
4afa1bc3dd
|
fixed time.Time struct scan handling
|
2014-04-20 23:49:16 +08:00 |
Nash Tsai
|
2123467ce6
|
resolved merge
|
2014-04-20 18:19:06 +08:00 |
Lunny Xiao
|
0b7c242ddf
|
bug fixed
|
2014-04-20 16:01:53 +08:00 |
Lunny Xiao
|
2d58f8fe46
|
bug fixed
|
2014-04-19 11:08:15 +08:00 |
Nash Tsai
|
0a22f9c018
|
resolved merge
|
2014-04-19 00:44:14 +08:00 |
Lunny Xiao
|
82e73d6002
|
bug fixed for Incr
|
2014-04-18 22:14:15 +08:00 |
Lunny Xiao
|
9a6458134a
|
set db to dialect
|
2014-04-18 18:39:07 +08:00 |
Nash Tsai
|
3ef0b27d4a
|
resolved merge from origin/dev
|
2014-04-17 23:25:50 +08:00 |
Nash Tsai
|
b7690b1668
|
use time.Location struct instead of TimeZone string
|
2014-04-17 23:21:42 +08:00 |
Nash Tsai
|
52f7a96bfe
|
resolved merge from origin/dev branch
|
2014-04-17 21:28:26 +08:00 |
Lunny Xiao
|
05e99e39c6
|
bug fixed
|
2014-04-17 10:13:16 +08:00 |
商讯在线
|
a4876ffec2
|
update
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
|
2014-04-16 20:56:04 +08:00 |
商讯在线
|
e8c0ff31b3
|
update
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
|
2014-04-16 20:08:53 +08:00 |
商讯在线
|
aa9b62f275
|
update
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
|
2014-04-15 23:27:08 +08:00 |
Lunny Xiao
|
9a7a6cd4d2
|
move Inc() to Incr()
|
2014-04-15 12:14:18 +08:00 |
Lunny Xiao
|
1161484c92
|
Merge branch 'dev' of https://github.com/unphp/xorm into unphp-dev
|
2014-04-15 11:46:43 +08:00 |
Lunny Xiao
|
feb1f45e72
|
Added NewDB(), DB(), Clone() and removed pool object and other improvements
|
2014-04-15 11:39:29 +08:00 |
unphp
|
97f4b0e45c
|
Method In provides a update string
|
2014-04-15 10:55:14 +08:00 |
Lunny Xiao
|
69c057be1c
|
bug fixed
|
2014-04-12 21:59:43 +08:00 |
Nash Tsai
|
81e690f8a8
|
resolved merge from b1dfd648f2
|
2014-04-11 22:22:55 +08:00 |
Nash Tsai
|
b1dfd648f2
|
fixed #86, increment version field after update
|
2014-04-11 21:31:44 +08:00 |
Lunny Xiao
|
5080b2b571
|
Merge branch 'master' into dev
Conflicts:
dialects/oracle.go
dialects/postgres.go
docs/QuickStart.md
engine.go
mysql.go
session.go
statement.go
table.go
tests/base_test.go
xorm.go
xorm/go.go
xorm/reverse.go
|
2014-04-11 15:37:27 +08:00 |
Lunny Xiao
|
9b23e7d6c0
|
resolved #89: if struct has func, the struct's name is the result
|
2014-04-08 16:46:23 +08:00 |
Lunny Xiao
|
9d5f834eb2
|
bug fixed & add MustCols function & improved docs
|
2014-04-06 12:58:16 +08:00 |
Lunny Xiao
|
9d64ef5013
|
bug fixed
|
2014-04-05 22:14:00 +08:00 |
Lunny Xiao
|
3aed2090a0
|
add AllCols for update all cols
|
2014-03-24 20:41:07 +08:00 |
Lunny Xiao
|
146d5db5ea
|
bug fixed
|
2014-02-18 14:10:51 +08:00 |
Nash Tsai
|
4f6106e168
|
private Engine.LogSQL and create ILogger interface that is compatible with log/syslog package. Also fixed use of LogError instead of LogSQL
|
2014-02-12 01:35:26 +08:00 |
Lunny Xiao
|
b66e7aa067
|
use core.DB instead of sql.DB
|
2014-02-11 14:59:04 +08:00 |
Lunny Xiao
|
245d1fafb5
|
move types to core subdir
|
2014-02-11 14:16:14 +08:00 |
Lunny Xiao
|
56700ee336
|
bug fixed
|
2014-01-25 10:31:07 +08:00 |
Lunny Xiao
|
e77fca31ae
|
move tests to tests subdir & refactoring
|
2014-01-25 10:07:11 +08:00 |
Lunny Xiao
|
42e5fb880f
|
comment debug info
|
2014-01-24 09:07:10 +08:00 |
Lunny Xiao
|
d67b6e7f80
|
merge
|
2014-01-21 22:27:28 +08:00 |
Lunny Xiao
|
19b0a57dcd
|
add lowertest
|
2014-01-21 22:22:06 +08:00 |
Nash Tsai
|
60db598114
|
caching session bounded sql.Stmt to increase performance
|
2014-01-14 18:53:00 +08:00 |
Lunny Xiao
|
65edc742b4
|
merge dialect
|
2014-01-09 14:44:41 +08:00 |
Lunny Xiao
|
b7c8a79a1a
|
merge master
|
2014-01-09 13:24:51 +08:00 |
Nash Tsai
|
9771433266
|
remove commented codes
|
2014-01-08 18:42:47 +08:00 |
Nash Tsai
|
07b2d15a26
|
code tidy up, minor performance improvement
|
2014-01-08 18:37:22 +08:00 |
Lunny Xiao
|
dd9c707f50
|
bug fixed #46
|
2014-01-08 18:18:42 +08:00 |
Lunny Xiao
|
4df43ffa0f
|
new architecture
|
2014-01-07 17:33:27 +08:00 |
Nash Tsai
|
4a507f758c
|
removed debuglog
|
2014-01-02 12:53:16 +08:00 |
Nash Tsai
|
e95b3bc807
|
fixed time struct conversion error
|
2014-01-02 12:49:02 +08:00 |
Nash Tsai
|
2498a032f0
|
uncomment row2bean cascade handling
|
2014-01-02 12:19:30 +08:00 |
Lunny Xiao
|
9f796328b3
|
merge
|
2013-12-31 11:44:11 +08:00 |
Nash Tsai
|
e7379dc7d9
|
fixed cache usage error when using session.Find()
|
2013-12-30 17:40:59 +08:00 |
Nash Tsai
|
5fa8a7271d
|
fixed session.queryPreprocess usage
|
2013-12-30 02:32:26 +08:00 |
Nash Tsai
|
8f0aba838f
|
use session.queryPreprocess implementations instead of calling session.queryPreprocess to void sql error
|
2013-12-29 17:37:43 +08:00 |
Nash Tsai
|
814036e258
|
1. correct use of 'sql' string clash with sql pacakage. 2. checked type conversion.
|
2013-12-28 02:42:50 +08:00 |
Nash Tsai
|
7bbabe72f0
|
add Session.row2Bean
|
2013-12-27 02:14:30 +08:00 |
lunny
|
17d74617ea
|
Merge pull request #37 from nashtsai/scrolling-rs
Scrolling rs
|
2013-12-25 23:12:08 -08:00 |
Nash Tsai
|
a3f1d98775
|
code tidy up
|
2013-12-26 15:11:15 +08:00 |
Nash Tsai
|
6269596915
|
update API comments
|
2013-12-26 14:53:20 +08:00 |
Nash Tsai
|
6bc64c8fe6
|
change Iterator struct naming to 'Rows' and making compatible interface to sql.Rows
|
2013-12-26 14:50:44 +08:00 |
Nash Tsai
|
e59b76cb6c
|
add TODO comments
|
2013-12-25 23:50:37 +08:00 |
Nash Tsai
|
99ebe8f165
|
add testScroll test
|
2013-12-25 23:27:54 +08:00 |
Lunny Xiao
|
901d7b6670
|
bug fixed
|
2013-12-25 17:41:01 +08:00 |
Nash Tsai
|
275205e6f1
|
implemented forward scrolling resultset and updated Session.Iterator() implementation
|
2013-12-25 15:39:56 +08:00 |
Lunny Xiao
|
d5a4324585
|
add support to int32, int, uint, uint32, uint64 for pk
|
2013-12-24 18:18:48 +08:00 |
Nash Tsai
|
6b4eca8204
|
Merge remote-tracking branch 'upstream/master'
|
2013-12-24 11:52:22 +08:00 |
Nash Tsai
|
d6de8fbb8b
|
code tidy up
|
2013-12-24 11:52:20 +08:00 |
lunny
|
90a9a30143
|
bug fixed
|
2013-12-23 16:03:02 +08:00 |
Lunny Xiao
|
9ee32711ba
|
bug fix
|
2013-12-20 15:55:34 +08:00 |
lunny
|
b778bfce82
|
merge mssql support
|
2013-12-20 15:11:56 +08:00 |
lunny
|
4459c88a28
|
add mssql support
|
2013-12-20 14:53:40 +08:00 |
Nash Tsai
|
40bea73d0b
|
code tidy up
|
2013-12-20 02:32:11 +08:00 |
Nash Tsai
|
322bfa2d98
|
Merge remote-tracking branch 'upstream/master'
|
2013-12-20 02:26:47 +08:00 |
Nash Tsai
|
7ebbe91892
|
code tidy up
|
2013-12-20 02:25:46 +08:00 |
Lunny Xiao
|
81af494cab
|
bug fixed
|
2013-12-19 23:28:38 +08:00 |