Commit Graph

141 Commits

Author SHA1 Message Date
wulove 6dd8bcfca0 Update engine.go
当数据库driver是https://github.com/denisenkom/go-mssqldb时,不对datetime类型进行时间截取,在go-mssqldb中会自动处理
2014-07-01 10:09:16 +08:00
Lunny Xiao 021ad08402 Merge branch 'bug' 2014-06-11 14:01:24 +08:00
Lunny Xiao 6d1a0ac0b0 add Sync2 for a new sync database struct methods 2014-06-11 14:01:14 +08:00
Lunny Xiao 23d0d656da ShowSQL bug fixed 2014-05-31 12:22:06 +08:00
Lunny Xiao 6384ada2bb bug fixed 2014-05-31 12:19:46 +08:00
Lunny Xiao bfeb6ea19f bug fixed & new Import func 2014-05-24 16:05:48 +08:00
Lunny Xiao e4f05916cb add support for Join 2014-05-23 14:18:45 +08:00
Lunny Xiao 78ddfebcfb resolved #115 2014-05-09 21:53:00 +08:00
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