Lunny Xiao
|
7d2967c786
|
join parameters support & many comments
|
2016-03-29 09:17:06 +08:00 |
Lunny Xiao
|
a2a2456fa2
|
bug fixed for log level and improved json scanner
|
2016-03-24 22:46:24 +08:00 |
Lunny Xiao
|
f01db0b5c5
|
resolved #374
|
2016-03-23 23:46:07 +08:00 |
Lunny Xiao
|
3da8f14fc1
|
resolved #373
|
2016-03-23 16:17:08 +08:00 |
Lunny Xiao
|
769f6b3ae6
|
bug fixed
|
2016-03-16 23:05:25 +08:00 |
Lunny Xiao
|
4d6d506dfb
|
bug fixed for Sync2
|
2016-03-14 09:40:32 +08:00 |
Lunny Xiao
|
bb8c5c04d7
|
bug fxied for Sync2 when specify the table name
|
2016-03-10 15:45:00 +08:00 |
Lunny Xiao
|
bfb5784ec5
|
bug fxied for Sync2 when share the same struct between different tables
|
2016-03-10 09:39:25 +08:00 |
Lunny Xiao
|
1045aa020f
|
remove unneccessary warning on sync
|
2016-03-06 23:22:26 +08:00 |
Lunny Xiao
|
d92dc9d373
|
bug resolved for #364 & #365
|
2016-03-04 17:38:05 +08:00 |
Lunny Xiao
|
4fec1167de
|
add schema support for postgres
|
2016-03-03 11:03:26 +08:00 |
Lunny Xiao
|
8c05434162
|
bug fixed for engine.ShowExecTime
|
2016-03-01 18:23:33 +08:00 |
Lunny Xiao
|
862d4e0586
|
bug fixed for soft delete and resolved #359 and disable warning when found non-sync tables
|
2016-02-28 13:44:18 +08:00 |
Lunny Xiao
|
a0aaa7d72b
|
logging interface changed and resolved #160 #219 #353
|
2016-02-16 17:18:01 +08:00 |
Lunny Xiao
|
cb1be6129d
|
bug fixed for soft deleted on order by and limit
|
2016-02-04 17:46:42 +08:00 |
Lunny Xiao
|
c4b974fe5c
|
added delete limit support(except mssql)
|
2016-02-03 11:19:11 +08:00 |
Lunny Xiao
|
791d17fed6
|
some improvments
|
2016-01-28 16:54:15 +08:00 |
Lunny Xiao
|
90c454a96a
|
bug fixed for Sync2 when mysql engine is myisam
|
2016-01-13 09:58:40 +08:00 |
Lunny Xiao
|
025e2a20e5
|
bug fixed for deleted & alias conflict
|
2016-01-12 17:19:47 +08:00 |
Lunny Xiao
|
fad61020e8
|
resolved #250, #317
|
2016-01-02 23:55:01 +08:00 |
Lunny Xiao
|
069f551119
|
remove trace code
|
2015-12-30 17:09:37 +08:00 |
Lunny Xiao
|
5ca36c5476
|
resolved #326
|
2015-12-30 16:17:33 +08:00 |
Lunny Xiao
|
b85dbfe3ff
|
resolved #326
|
2015-12-29 18:16:27 +08:00 |
Lunny Xiao
|
d5819023e7
|
added varchar size increment auto sync for mysql in Sync2
|
2015-12-25 10:35:48 +08:00 |
Lunny Xiao
|
a8fba4d3d9
|
resolved #312
|
2015-12-03 16:11:27 +08:00 |
Lunny Xiao
|
b36f8ed87e
|
bug fixed for #249
|
2015-11-26 15:52:25 +08:00 |
Lunny Xiao
|
d776f5da3e
|
bug fixed: resolved #288
|
2015-10-26 17:01:46 +08:00 |
Lunny Xiao
|
1da71e850a
|
resolved #309
|
2015-10-26 16:06:38 +08:00 |
Lunny Xiao
|
4578668362
|
bug fixed for extends insert
|
2015-10-26 14:51:04 +08:00 |
Lunny Xiao
|
300379e016
|
bug fixed #297
|
2015-10-06 22:56:28 +08:00 |
Lunny Xiao
|
be4b6f2fae
|
Merge pull request #290 from evalphobia/feature/select-for-update
Added feature for SELECT ... FOR UPDATE
|
2015-08-30 22:11:58 +08:00 |
Lunny Xiao
|
0a5845a61c
|
bug fixed for innerInsert
|
2015-08-30 09:48:16 +08:00 |
Lunny Xiao
|
dd30b1fa61
|
oracle insert primary key set back support
|
2015-08-28 17:01:41 +08:00 |
evalphobia
|
e89f74daa0
|
Added feature for SELECT ... FOR UPDATE
|
2015-08-28 16:54:19 +09:00 |
Lunny Xiao
|
adadb47c60
|
bug fixed for oracle insert
|
2015-08-26 14:28:59 +08:00 |
Lunny Xiao
|
a01186e3cd
|
bug fixed for #283
|
2015-08-24 16:43:58 +08:00 |
Lunny Xiao
|
97e7703766
|
bug fixed & comment trace line
|
2015-08-12 23:11:45 +08:00 |
Lunny Xiao
|
29fd03b318
|
hack for ql support
|
2015-08-07 09:55:42 +08:00 |
Lunny Xiao
|
6cc6e18143
|
Merge branch 'master' of github.com:go-xorm/xorm
|
2015-08-06 14:25:02 +08:00 |
Lunny Xiao
|
f9e450f348
|
add AfterSet processor support & resolved #276
|
2015-08-06 14:24:17 +08:00 |
evalphobia
|
ebd11048f3
|
Added feature for storing lastSQL query on session
|
2015-07-28 13:03:20 +09:00 |
Lunny Xiao
|
b6a31aa9a3
|
bug fixed #260
|
2015-07-28 10:03:32 +08:00 |
unknown
|
d716685a9e
|
add support sql.NullString sql.NullInt64 ...
|
2015-07-20 10:43:36 +08:00 |
Lunny Xiao
|
2ee7de9fa5
|
bug fixed for sync2
|
2015-06-27 12:36:38 +08:00 |
evalphobia
|
1ebd50ead5
|
Added feature to update with null for non pointer value
|
2015-06-10 23:04:14 +09:00 |
Lunny Xiao
|
ff6f3b7a8d
|
bug fixed for auto condition on join
|
2015-05-25 17:49:28 +08:00 |
Lunny Xiao
|
439cc27466
|
added Select method for special select column express
|
2015-05-24 21:32:27 +08:00 |
Lunny Xiao
|
fb995894f0
|
bug fixed
|
2015-05-20 10:27:01 +08:00 |
Lunny Xiao
|
a7e7288163
|
bug fixed
|
2015-05-18 17:04:25 +08:00 |
Lunny Xiao
|
cb75b2cd9c
|
bug fixed
|
2015-05-07 17:14:06 +08:00 |
Lunny Xiao
|
1992491553
|
license
|
2015-04-28 16:25:04 +08:00 |
Lunny Xiao
|
aa90a634d4
|
resolved #176 & cache bug fixed
|
2015-04-01 16:32:17 +08:00 |
Lunny Xiao
|
e4b568f3b3
|
automatically call Rollback in Close, resolved #221, #206
|
2015-03-31 07:03:41 +08:00 |
Lunny Xiao
|
1f0dd9bef2
|
bug fixed for isTableEmpty
|
2015-03-13 15:26:47 +08:00 |
Lunny Xiao
|
044198f373
|
oracle drop table fixed
|
2015-03-13 15:20:24 +08:00 |
Lunny Xiao
|
ba131dd9a0
|
resolved #199
|
2015-03-12 22:26:45 +08:00 |
Lunny Xiao
|
a068aadd27
|
use old drop table interface
|
2015-03-12 18:03:52 +08:00 |
Lunny Xiao
|
53da67f171
|
Merge branch 'master' into oci8_support
|
2015-03-12 17:47:11 +08:00 |
Lunny Xiao
|
9ae245b54b
|
bug fixed
|
2015-03-12 17:46:24 +08:00 |
ilisin
|
7acdf292bf
|
for oracle support
modify base on lastest version of xorm
|
2015-03-05 09:56:15 +08:00 |
Lunny Xiao
|
ede84cde60
|
bug fixed
|
2015-03-03 15:14:44 +08:00 |
Lunny Xiao
|
4d5681caf8
|
oracle support, to be continued
|
2015-03-03 14:58:01 +08:00 |
Lunny Xiao
|
26932e9b90
|
bug fixed #84
|
2015-02-28 17:31:51 +08:00 |
Lunny Xiao
|
11d36774e9
|
bug fixed
|
2015-02-28 17:03:28 +08:00 |
Lunny Xiao
|
0cfd60f101
|
use DB() instead newDb()
|
2015-02-25 15:26:52 +08:00 |
Lunny Xiao
|
507ee4df02
|
resolved #163
|
2015-02-23 12:24:26 +08:00 |
Lunny Xiao
|
5cdb680945
|
add cascade non-int64 primary key support & bug fixed #178
|
2015-02-22 23:52:53 +08:00 |
Lunny Xiao
|
ad44696e9a
|
bug fixed #205, thanks chnykn
|
2015-02-13 18:47:43 +08:00 |
Lunny Xiao
|
2876528540
|
add IsTableExist & IsTableEmpty
|
2015-02-12 11:46:03 +08:00 |
Lunny Xiao
|
59fe3e5b9d
|
bug fixed for #205
|
2015-02-11 16:51:18 +08:00 |
Nash Tsai
|
edc91fde4c
|
move helper functions to helpers.go
|
2015-01-29 10:56:20 +08:00 |
Nash Tsai
|
10fb4dbb78
|
checked params for InsertMulti, fixed issue #193, thanks to @blu3gui7ar
|
2015-01-29 10:36:01 +08:00 |
江林锦
|
e5a3b63b75
|
make SetExpr() available for insert op
|
2015-01-28 17:05:28 +08:00 |
江林锦
|
5b2b0091de
|
Expr() => SetExpr()
|
2015-01-28 14:10:45 +08:00 |
江林锦
|
5a47ac4347
|
implement Expr()
|
2015-01-28 13:23:01 +08:00 |
Lunny Xiao
|
872633e699
|
improved & bug fixed
|
2015-01-23 16:25:28 +08:00 |
Lunny Xiao
|
2a5d411c8c
|
bug fixed #195
|
2015-01-14 11:09:42 +08:00 |
Lunny Xiao
|
dcc529b68a
|
remove unused method
|
2014-12-27 14:02:16 +08:00 |
TossPig
|
f75f91bfe0
|
修改IsDeleted的状态查询
在pqsql下测试通过
|
2014-11-23 17:59:10 +08:00 |
Lunny Xiao
|
70249578f6
|
Merge branch 'bugfix-deleted-find' of https://github.com/oinume/xorm into oinume-bugfix-deleted-find
Conflicts:
session.go
|
2014-11-20 15:24:53 +08:00 |
Lunny Xiao
|
7f7a91430d
|
Merge branch 'master' of github.com:go-xorm/xorm
|
2014-11-20 15:05:14 +08:00 |
商讯在线
|
730ed76c5d
|
Support table alias
|
2014-11-19 00:41:03 +08:00 |
Kazuhiro Oinuma
|
2f7d3bac1e
|
Fixes #179
|
2014-11-18 17:17:44 +09:00 |
Lunny Xiao
|
3a5d5aa786
|
cache support all kinds of primary keys
|
2014-11-08 11:12:37 +08:00 |
Lunny Xiao
|
a98e9405e1
|
cache for string primary key
|
2014-11-07 22:23:23 +08:00 |
Lunny Xiao
|
d9efbdccd7
|
add cache for string
|
2014-11-07 17:56:33 +08:00 |
oinume
|
f087929082
|
Move 'unscoped' field from Engine to Statement.
See https://github.com/go-xorm/xorm/pull/175#issuecomment-61599948
|
2014-11-05 16:04:53 +09:00 |
oinume
|
42f0fc27ea
|
Tag name changed: softdelete -> deleted
|
2014-11-05 15:29:34 +09:00 |
Kazuhiro Oinuma
|
b510fc584f
|
Add softdelete feature
|
2014-11-03 22:03:12 +09:00 |
insion
|
ad39b07b09
|
Update session.go
修正Asc()排序出错的问题..
|
2014-11-03 11:05:49 +08:00 |
Lunny Xiao
|
f7406f81b4
|
add StoreEngine for Sync2 when use mysql
|
2014-10-28 23:10:06 +08:00 |
Nash Tsai
|
4d8beb4bbf
|
resolved merge from origin/master
|
2014-09-04 23:02:23 +08:00 |
商讯在线
|
2f4fa912b9
|
improved
|
2014-08-30 22:17:59 +08:00 |
Nash Tsai
|
0491cec2e6
|
changed to cache and nocache tag value support
public Engine.TableInfo() API
|
2014-08-29 00:34:09 +08:00 |
Nash Tsai
|
524993f44d
|
Merge branch 'master' into feature/cacher-tag
|
2014-08-28 23:22:11 +08:00 |
Nash Tsai
|
40dd1987fb
|
Merge branch 'master' of github.com:go-xorm/xorm
|
2014-08-28 23:13:50 +08:00 |
Nash Tsai
|
05d01bf165
|
add TODO comments
|
2014-08-28 23:13:41 +08:00 |
Lunny Xiao
|
0fa2433cf9
|
improved Sync2 method
|
2014-08-28 22:48:01 +08:00 |
Nash Tsai
|
48798e566f
|
Merge remote-tracking branch 'origin/master' into feature/cacher-tag
|
2014-08-22 16:55:43 +08:00 |
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 |