Commit Graph

189 Commits

Author SHA1 Message Date
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 f3fc0b9976 remove trace string 2014-04-30 10:19:24 +08:00
Lunny Xiao 1a53dc40e1 add support for ql 2014-04-29 14:16:53 +08:00
Lunny Xiao f419c31da1 bug fixs #105 2014-04-23 15:25:27 +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
Lunny Xiao 0b7c242ddf bug fixed 2014-04-20 16:01:53 +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 3ef0b27d4a resolved merge from origin/dev 2014-04-17 23:25:50 +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
商讯在线 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
unphp 64e5181112 Method In provides a update string 2014-04-15 10:55:27 +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
商讯在线 68c59188e9 fix bug #53
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
2014-04-13 10:03:07 +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 45b3f9775e bug fixed for statement.IdParam 2014-02-25 18:45:24 +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 e77fca31ae move tests to tests subdir & refactoring 2014-01-25 10:07:11 +08:00
Lunny Xiao 004b30f2fb samemapper support 2014-01-09 17:55:33 +08:00
Lunny Xiao 65edc742b4 merge dialect 2014-01-09 14:44:41 +08:00
Lunny Xiao 78fb484ce0 bug fixed 2014-01-08 22:47:30 +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 Xiao 901d7b6670 bug fixed 2013-12-25 17:41:01 +08:00
Lunny Xiao d5a4324585 add support to int32, int, uint, uint32, uint64 for pk 2013-12-24 18:18:48 +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 9f3a211ed9 code tidy up 2013-12-18 22:55:39 +08:00
Nash Tsai c2fe9ee0d5 resolved merger from upstream 2013-12-18 15:26:48 +08:00
Nash Tsai a6eb640d81 tidy up comments 2013-12-18 15:24: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 98d4c0e000 bug fixed 2013-12-12 14:33:26 +08:00
Lunny Xiao bb6a9c24fa multiple In() supports 2013-12-11 16:27:33 +08:00
Lunny Xiao c70b4ad8d3 replace tab to 4 spaces for all codes 2013-12-09 10:29:23 +08:00
Lunny Xiao 1d90c34f61 merge null field codes 2013-12-08 21:40:58 +08:00
Nash Tsai a74f8db232 update statement.buildConditions method to support pointer values update 2013-12-08 04:27:48 +08:00
Nash Tsai 68862870a9 code tidy up for Type2SQLType and buildConditions 2013-12-06 21:04:27 +08:00
Nash Tsai 0c9b7b274f get elem value() for Ptr type 2013-12-06 20:49:11 +08:00
Nash Tsai f44f70acd8 add nil value filter for buildConditions 2013-12-06 15:19:48 +08:00
Lunny Xiao 0d1efc74a6 bug fixed and more benchmark tests 2013-12-04 15:03:21 +08:00
Lunny Xiao 84145a374f merge 2013-12-02 22:34:17 +08:00
Lunny Xiao 01e8ab4bcd add created & updated tests 2013-12-02 14:54:44 +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 e4f0c8a688 fixed time problem 2013-11-21 14:26:30 +08:00
Lunny Xiao e5c421d6ff fixed delete bug #12 2013-11-21 01:26:07 +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 2a6991886c Add And and Or method for query condition 2013-11-09 21:13:16 +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 fc17734817 added Iterate method; added Omit method 2013-10-17 12:50:46 +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 1b47321704 improved docs 2013-09-30 09:17:35 +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 4691a4f3ba fixed bug #8 & #9 2013-09-06 14:32:20 +08:00
Lunny Xiao 3a868531e9 add support for slice, array, map, custom types fields of struct & fixed #4 2013-09-05 23:20:52 +08:00
Lunny Xiao 6ecfc78d8d fix bug #7 2013-09-01 11:01:10 +08:00
Lunny Xiao d90967009a fixed maxconns bug 2013-09-01 10:37:46 +08:00
Lunny Xiao f817b30f28 Update() add map[string]interface{} as update columns 2013-08-29 13:18:02 +08:00
Lunny Xiao b742ca6f3b bugs fixed 2013-08-29 10:18:33 +08:00
Lunny Xiao e3c460d5bf more tests & bug fixed 2013-08-09 00:03: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 a7f6aa92d3 bug fix 2013-07-27 21:59:11 +08:00
Lunny Xiao dd06d9a4cf bug fix 2013-07-27 21:47:22 +08:00
Lunny Xiao 5adfc8e923 v0.1.8 union index and union unique supported 2013-07-27 12:24:38 +08:00
Lunny Xiao 65608363e3 fixed some bugs 2013-07-18 01:26:14 +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 5e90d61fa8 mapping now supported single mapping and struct derive 2013-06-24 12:08:58 +08:00
Lunny Xiao fb6f84bc90 go routine support;raw sql support 2013-06-16 11:05:16 +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 22259898f3 add In() function 2013-05-11 16:27:17 +08:00
Lunny Xiao 09848afbcf use default connection params 2013-05-09 09:56:58 +08:00
Lunny Xiao 5870dbaab0 add sql execution support 2013-05-08 21:42:22 +08:00
Lunny Xiao 74e0e3b175 fix mysql test and sqlite test 2013-05-06 16:01:17 +08:00
Lunny Xiao 4969e8bf94 init project 2013-05-03 15:26:51 +08:00