Commit Graph

1181 Commits

Author SHA1 Message Date
Lunny Xiao 5612916fea bug fixed and performance improved for table name 2016-07-09 08:15:53 +08:00
Lunny Xiao 86701ad07e added Sum, Sums, SumsInt methods 2016-07-07 22:34:43 +08:00
Lunny Xiao 9bf34c3189 small optimization 2016-07-07 09:01:13 +08:00
Lunny Xiao b7ab22b84c resolved #380 2016-06-30 17:05:52 +08:00
Lunny Xiao 9d17789b4d resolved #400 2016-06-30 16:55:34 +08:00
Lunny Xiao 7d0f249cf5 resolved #416 2016-06-30 16:35:04 +08:00
Lunny Xiao 3d4a143814 bug fixed 2016-06-30 15:45:17 +08:00
yyoshiki41 800f4b35db Fixed driver-name logging 2016-06-30 15:45:02 +08:00
Victor Gaydov a75b13f07d Move statement methods to statement.go 2016-06-30 15:43:47 +08:00
Lunny Xiao 9225f21f45 bug fixed for json unmarshal 2016-06-30 15:43:28 +08:00
Lunny Xiao 0c3586bc28 small performance optimazition 2016-06-30 15:41:16 +08:00
Lunny Xiao a01eeeddbc bug fixed 2016-05-08 15:15:39 +08:00
Lunny Xiao 7f6463e46e Merge branch 'gavv-master' 2016-04-28 22:24:46 +08:00
Victor Gaydov 2f1f32ff17 Support pointers to type aliases
Example:

type MyInt int

type MyStruct struct {
     i1 MyInt   // already works
     i2 *int    // already works
     i3 *MyInt  // didn't work before this commit
}
2016-04-28 13:30:38 +03:00
Victor Gaydov 5d205cad0e Don't panic if v is nil 2016-04-27 20:22:04 +03:00
Lunny Xiao 8bbc19d78e Merge pull request #385 from mishak87/patch-1
README typos
2016-04-27 09:36:16 -05:00
Michal Gebauer d147363824 README typos 2016-04-27 14:08:35 +02:00
Lunny Xiao 56d649f413 bug fixed for empty struct when update 2016-04-27 11:31:02 +08:00
Lunny Xiao 5c116a34d6 bug fixed #379 2016-04-22 21:43:22 +08:00
Lunny Xiao 21d219c872 Merge pull request #378 from gavv/master
Accumulate args when using Join() multiple times
2016-04-18 20:01:25 -05:00
Victor Gaydov ce28ee9f19 Accumulate args when using Join() multiple times 2016-04-19 01:21:08 +03:00
Lunny Xiao 0f03658955 some comments, refactors improvements 2016-04-07 08:54:02 +08:00
Lunny Xiao 2b34c682f1 added custom int and string type for primary key support 2016-04-06 22:19:38 +08:00
Lunny Xiao 2f8952d39b serious extends bug fixed & correct logger file path 2016-03-31 22:21:05 +08:00
Lunny Xiao b336fa1880 ILogger interface changed and some golint issues resolved, #367 resolved 2016-03-31 18:19:00 +08:00
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 d28e126b18 Merge branch 'woodsaj-issue369' 2016-03-23 17:44:36 +08:00
Lunny Xiao c6f005b4b3 Merge branch 'issue369' of https://github.com/woodsaj/xorm into woodsaj-issue369 2016-03-23 16:26:27 +08:00
Lunny Xiao 0d2245dad2 the second Where will be treated as And 2016-03-23 16:22:08 +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
woodsaj 1080a66c10 allow quoteColoumn to handle comma separated column names 2016-03-14 22:23:45 +08:00
woodsaj ce380c9430 quote "."(periods) in column name. fixes #369
Correctly handle columns being passed in the format
"table.column"
2016-03-14 22:10:59 +08:00
Lunny Xiao 9968697225 Merge branch 'master' of github.com:go-xorm/xorm 2016-03-14 09:41:34 +08:00
Lunny Xiao 4d6d506dfb bug fixed for Sync2 2016-03-14 09:40:32 +08:00
Wenhui Shen 54473a3e45 fixed bug 2016-03-13 16:28:18 +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 5df1bc92df resolved gogits/gogs#2743 2016-03-06 12:05:20 +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 4bcbb95688 added DumpTables and DumpTablesToFile for dump parts of tables to other database type 2016-02-29 22:32:41 +08:00
Lunny Xiao 67d038a63f Merge branch 'master' of github.com:go-xorm/xorm 2016-02-28 13:44:36 +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 e72082c2fd Merge pull request #358 from denji/tokudb
Preventing the creation of duplicate index TokuDB
2016-02-20 09:59:49 +08:00
Denis Denisov f65db02269 Preventing the creation of duplicate index TokuDB
Fail to initialize ORM engine: sync database struct error: Error 1061: Duplicate key name …
2016-02-20 01:34:40 +02:00