Lunny Xiao
|
4b94c7b784
|
add support for prt to extends struct & resolved #115
|
2014-05-08 13:25:43 +08:00 |
Lunny Xiao
|
2ebacae199
|
add part support for ql
|
2014-05-07 15:56:33 +08:00 |
Lunny Xiao
|
caffa2447f
|
bug fixed and improved IsTableExist
|
2014-05-06 14:59:58 +08:00 |
商讯在线
|
7bbbcba21b
|
support enum type for mysql
|
2014-05-05 22:26:17 +08:00 |
Lunny Xiao
|
23ffb3d2a0
|
bug fixed for dump
|
2014-05-05 17:56:04 +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
|
8c79a0cc1d
|
new dialect interface
|
2014-04-23 14:01:04 +08:00 |
Nash Tsai
|
a4d3be797f
|
Revert "update"
This reverts commit a25f371cbf .
|
2014-04-22 18:51:56 +08:00 |
商讯在线
|
a25f371cbf
|
update
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
|
2014-04-21 23:07:37 +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 |
Nash Tsai
|
783e905649
|
Merge remote-tracking branch 'origin/dev'
|
2014-04-18 16:42:05 +08:00 |
Lunny Xiao
|
0d9c1a02eb
|
add back SetMaxConns for compitable and set @deprecated
|
2014-04-18 10:52:33 +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 |
Nash Tsai
|
145358a74e
|
update API comments
|
2014-04-15 14:37:10 +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
|
e2aa0ef2c2
|
Method In provides a update string
|
2014-04-15 10:55:32 +08:00 |
unphp
|
decbeefc27
|
Method In provides a update string
|
2014-04-15 10:55:19 +08:00 |
unphp
|
97f4b0e45c
|
Method In provides a update string
|
2014-04-15 10:55:14 +08:00 |
商讯在线
|
ad33a0be49
|
bug fixed
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
|
2014-04-13 12:22:32 +08:00 |
商讯在线
|
855c53337a
|
bug fixed
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
|
2014-04-13 10:21:29 +08:00 |
Lunny Xiao
|
128db9c792
|
bug fixed and tests passed
|
2014-04-11 17:04:39 +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
|
6e7cead1ec
|
remove debug info
|
2014-04-05 22:18:25 +08:00 |
Lunny Xiao
|
9d64ef5013
|
bug fixed
|
2014-04-05 22:14:00 +08:00 |
Lunny Xiao
|
ff3a06b3dc
|
ql support
|
2014-03-28 15:03:35 +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 |
商讯在线
|
d0567a63b4
|
补遗
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
|
2014-02-11 21:42:14 +08:00 |
Lunny Xiao
|
b66e7aa067
|
use core.DB instead of sql.DB
|
2014-02-11 14:59:04 +08:00 |
Lunny Xiao
|
a76d74804f
|
a little performance improved
|
2014-02-10 15:36:25 +08:00 |
Lunny Xiao
|
da96e0cc86
|
a little perfomance improved
|
2014-02-10 13:56:29 +08:00 |
S.W.H
|
fc0372f6bc
|
Merge pull request #2 from admpub/master
更新到最新版
|
2014-01-29 21:27:19 -08:00 |
商讯在线
|
46fe2ce87e
|
一、xorm反转工具bug修复:
1、xorm反转工具增加表前缀支持;
2、修正decimal(5, 2)类型中括号内出现空格导致解析出错的bug;
3、修正xorm解析工具在windows环境下,指定生成路径时model名获取不正确的bug
二、xorm对于数据字段类型为文本类型默认值为空白字符的情况下,生成的struct中default信息丢失的bug,已修正。
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
|
2014-01-30 13:10:15 +08:00 |
S.W.H
|
d4f8196920
|
fixbug: parse DECIMAL(10, 2) failure.
|
2014-01-27 21:28:13 +08:00 |
S.W.H
|
9e267ad5c3
|
fixbug: parse DECIMAL(10, 2) failure.
|
2014-01-27 21:25:49 +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
|
21c08ea09c
|
move test files to tests/ subdir
|
2014-01-23 11:09:48 +08:00 |
Lunny Xiao
|
d71a6af18a
|
autoincr(start) support
|
2014-01-23 10:19:18 +08:00 |
Lunny Xiao
|
346681289d
|
bug fixed #51
|
2014-01-16 23:03:56 +08:00 |
Lunny Xiao
|
65edc742b4
|
merge dialect
|
2014-01-09 14:44:41 +08:00 |
Nash Tsai
|
07b2d15a26
|
code tidy up, minor performance improvement
|
2014-01-08 18:37:22 +08:00 |
Lunny Xiao
|
4df43ffa0f
|
new architecture
|
2014-01-07 17:33:27 +08:00 |
Lunny Xiao
|
2c1722ff1d
|
resolved #36
|
2013-12-31 12:22:36 +08:00 |
lunny
|
7d02fc2e35
|
Merge pull request #39 from nashtsai/master
make Import() call Db.Exec() directly
|
2013-12-26 16:51:44 -08:00 |
Nash Tsai
|
0dd3951636
|
make Import() call Db.Exec() directly
|
2013-12-26 18:31:04 +08:00 |
lunny
|
17d74617ea
|
Merge pull request #37 from nashtsai/scrolling-rs
Scrolling rs
|
2013-12-25 23:12:08 -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
|
6aa911aae0
|
comment Iterator public methods
|
2013-12-25 23:35:34 +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 |
Lunny Xiao
|
97a2494984
|
id bug fixed
|
2013-12-20 16:31:26 +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 |
Lunny Xiao
|
31dbc146ee
|
add nocascade method
|
2013-12-19 22:32:00 +08:00 |
Lunny Xiao
|
59412a951c
|
use tabs
|
2013-12-18 11:31:32 +08:00 |
Lunny Xiao
|
99c7031b50
|
merge composite key
|
2013-12-17 09:38:20 +08:00 |
Lunny Xiao
|
c70b4ad8d3
|
replace tab to 4 spaces for all codes
|
2013-12-09 10:29:23 +08:00 |
Nash Tsai
|
ec06be3197
|
implemented ddl import
|
2013-12-04 18:39:22 +08:00 |
Nash Tsai
|
e9a5dddbef
|
elimited BeforeXXX and AfterXXX operations with After() and Before()
|
2013-12-02 14:23:04 +08:00 |
Nash Tsai
|
69b0a9b713
|
implementation of before/after processors
|
2013-11-30 17:50:04 +08:00 |
Lunny Xiao
|
ec2c685583
|
add PrefixMapper & SuffixMapper
|
2013-11-27 15:53:05 +08:00 |
Lunny Xiao
|
605ec87f65
|
improved docs & resolved #
14
|
2013-11-22 14:11:07 +08:00 |
Lunny Xiao
|
e1644f7c98
|
improved docs & delete or private codes
|
2013-11-22 10:26:01 +08:00 |
Lunny Xiao
|
c6a8fd2e76
|
Insert now return affected, err instead id, err, this update is broken. Please fix you code; Improved docs
|
2013-11-21 18:04:43 +08:00 |
Lunny Xiao
|
74ec8ba9d2
|
Add UseBool method for MUST use bool on a struct as condition or update column
|
2013-11-15 10:16:08 +08:00 |
Lunny Xiao
|
1a64d60e06
|
add Distinct method & fixed Find use with Table
|
2013-11-14 23:07:33 +08:00 |
Lunny Xiao
|
31de5d612e
|
add lib/pq support; bool on struct will not be as condition;
|
2013-11-06 15:36:38 +08:00 |
Lunny Xiao
|
be22a978d8
|
improved sync indexes, now check columns;xorm tool bug fiexed
|
2013-10-28 11:16:22 +08:00 |
Lunny Xiao
|
bab16dc763
|
added type and sequence for xorm tool;added max connect for pool(go1.2+)
|
2013-10-27 09:10:20 +08:00 |
Lunny Xiao
|
fc17734817
|
added Iterate method; added Omit method
|
2013-10-17 12:50:46 +08:00 |
Lunny Xiao
|
42b4dbba03
|
added xorm reverse tool
|
2013-10-13 23:57:57 +08:00 |
Lunny Xiao
|
2caed88b82
|
added xorm reverse tool
|
2013-10-12 23:16:51 +08:00 |
Lunny Xiao
|
c0d008e631
|
Added support for Find(*[]*Struct); added notnull;
|
2013-10-05 00:44:43 +08:00 |
Lunny Xiao
|
5113f5d35b
|
improved docs
|
2013-09-30 15:08:34 +08:00 |
Lunny Xiao
|
58dec3a47c
|
improved docs
|
2013-09-30 14:48:17 +08:00 |
Lunny Xiao
|
564f3b71fa
|
improved docs
|
2013-09-30 14:45:34 +08:00 |
Lunny Xiao
|
1b47321704
|
improved docs
|
2013-09-30 09:17:35 +08:00 |
Lunny Xiao
|
9e38ddfa99
|
v0.2 Added Cache supported; Added SameMapper for same name between struct and table; Added Sync method for auto added tables, columns, indexes;
|
2013-09-29 16:43:10 +08:00 |
Lunny Xiao
|
82cd602b26
|
bug fixed
|
2013-09-29 09:02:01 +08:00 |
Lunny Xiao
|
4e4e4852c6
|
bug fixed
|
2013-09-29 08:56:02 +08:00 |
Lunny Xiao
|
7ebd533407
|
add Sync() method for sync column, index to table
|
2013-09-28 23:14:42 +08:00 |
Lunny Xiao
|
48fa4c6fbc
|
many bugs fixed
|
2013-09-26 15:19:39 +08:00 |
Lunny Xiao
|
daaa90e14e
|
bug fixed
|
2013-09-23 23:59:42 +08:00 |
Lunny Xiao
|
aa6feeb328
|
bug fixed
|
2013-09-23 10:20:45 +08:00 |
Lunny Xiao
|
894e97e195
|
fixed NoCache method
|
2013-09-22 17:32:23 +08:00 |