Commit Graph

152 Commits

Author SHA1 Message Date
Lunny Xiao 0903741bc2 mark 0.4.1 version 2014-11-05 15:50:28 +08:00
Lunny Xiao a404099f25 improved docs 2014-07-04 14:16:03 +08:00
wulove fdb3b3c425 Update xorm.go
增加对https://github.com/denisenkom/go-mssqldb的适配,go-mssqldb对mssql数据库兼容支持较odbc好
2014-07-01 10:05:22 +08:00
Nash Tsai 0a22f9c018 resolved merge 2014-04-19 00:44:14 +08:00
Lunny Xiao 9a6458134a set db to dialect 2014-04-18 18:39:07 +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
Nash Tsai 5de5a1c678 tidy up example codes 2014-04-17 17:08:21 +08:00
商讯在线 e8c0ff31b3 update
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
2014-04-16 20:08:53 +08:00
Nash Tsai 895d976804 fixed cases Drivers and Dialects are not registered, where sql driver is loaded after xorm.init(), using explicit call to register Drivers and Dialects upon xorm.NewEngine() call 2014-04-16 01:25:01 +08:00
商讯在线 aa9b62f275 update
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
2014-04-15 23:27:08 +08:00
Lunny Xiao feb1f45e72 Added NewDB(), DB(), Clone() and removed pool object and other improvements 2014-04-15 11:39:29 +08:00
Nash Tsai 38616e71fd flatten caches dir 2014-04-14 15:32:33 +08:00
Nash Tsai 8814370390 flatten the drivers dir 2014-04-14 15:22:01 +08:00
Nash Tsai 81c947b61b flattened dialects dir and register db dialect for assocaited registered driver 2014-04-11 21:06:11 +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 a1e3dd8db0 comment ql 2014-04-05 22:17:12 +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
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
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 4df43ffa0f new architecture 2014-01-07 17:33:27 +08:00
Lunny Xiao a70053a60d add version tag 2014-01-02 17:59: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
Lunny Xiao 81af494cab bug fixed 2013-12-19 23:28:38 +08:00
Lunny Xiao 59412a951c use tabs 2013-12-18 11:31:32 +08:00
Lunny Xiao 286b8725ed use 4 spaces replace tab 2013-12-17 17:55:27 +08:00
Lunny Xiao c70b4ad8d3 replace tab to 4 spaces for all codes 2013-12-09 10:29:23 +08:00
Lunny Xiao ec2c685583 add PrefixMapper & SuffixMapper 2013-11-27 15:53:05 +08:00
Lunny Xiao e5c421d6ff fixed delete bug #12 2013-11-21 01:26:07 +08:00
Lunny Xiao 2caed88b82 added xorm reverse tool 2013-10-12 23:16:51 +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 29fe0b6f80 added NoAutoTime method; added unfinished cache system, defaultly it's disabled. 2013-09-17 17:36:34 +08:00
Lunny Xiao d90967009a fixed maxconns bug 2013-09-01 10:37:46 +08:00
Lunny Xiao f0e87becd2 added maxconnect limit support 2013-08-29 17:26:33 +08:00
Lunny Xiao b0b3c16372 v0.1.9 added postgres,mymysql supported;add Cols, StoreEngine, Charset;add many column types 2013-08-08 13:24:38 +08:00
Lunny Xiao 5adfc8e923 v0.1.8 union index and union unique supported 2013-07-27 12:24:38 +08:00
Lunny Xiao fd36a7a539 v0.1.7 Added IConnectPool interface and NoneConnectPool, SysConnectPool, SimpleConnectPool the three implements. You can choose one of them and the default is SysConnectPool. You can customrize your own connection pool. struct Engine added Close method, It should be invoked before system exit. 2013-07-03 11:49:29 +08:00
Lunny Xiao 67d07d9d3e fix bug 2013-06-21 12:33:54 +08:00
Lunny Xiao fb6f84bc90 go routine support;raw sql support 2013-06-16 11:05:16 +08:00
Lunny Xiao e68c855ee3 some bug fixed and some function deprecated 2013-06-12 21:51:39 +08:00
Lunny Xiao 527b5b3f7a v0.1.4 Added simple cascade load support; added more data type supports. 2013-06-04 16:56:59 +08:00
Lunny Xiao 8bf4d68249 add Table function 2013-05-19 13:25:52 +08:00
Lunny Xiao a2ebf21969 v0.1.2 Insert function now supports both struct and slice pointer parameters, batch inserting and auto transaction 2013-05-12 21:37:10 +08:00
Lunny Xiao 09848afbcf use default connection params 2013-05-09 09:56:58 +08:00
Lunny Xiao 4ebee70f92 use relfect.Type as key of tables map 2013-05-08 22:50:19 +08:00
Lunny Xiao 5870dbaab0 add sql execution support 2013-05-08 21:42:22 +08:00
Lunny Xiao 4969e8bf94 init project 2013-05-03 15:26:51 +08:00