Commit Graph

27 Commits

Author SHA1 Message Date
Jinzhu 29bc814934 Remove unnecessary init method 2013-11-19 08:50:07 +08:00
Jinzhu bf1db1534e Use channel to make gorm faster 2013-11-17 09:50:34 +08:00
Jinzhu 9a1c0d956d cache snake, upper values 2013-11-17 08:28:30 +08:00
Jinzhu ba6403f904 Fix binvar for mysql 2013-11-16 20:47:25 +08:00
Jinzhu 7912631be7 Make clone search conditions works 2013-11-16 09:12:22 +08:00
Jinzhu 2b4a4a06f0 Update search.go 2013-11-16 08:22:04 +08:00
Jinzhu 2d34ecd6a9 Refact Code 2013-11-15 11:36:27 +08:00
Jinzhu e4612bde9c Separate Field Struct 2013-11-14 21:26:02 +08:00
Jinzhu c1c13129f1 Finish dialects 2013-11-14 19:09:27 +08:00
Jinzhu 9e762a9a30 Try to add logger 2013-11-11 09:10:16 +08:00
Jinzhu 874856a592 Cleanup unused code 2013-11-10 23:07:09 +08:00
Jinzhu 8e0b125cb1 Support sql.Scanner 2013-11-10 18:33:37 +08:00
Jinzhu 549c7450ea Make it easy when only change one field with Attr, Assign 2013-10-31 12:59:04 +08:00
Jinzhu bc785a9173 Cleanup code 2013-10-29 08:41:07 +08:00
Jinzhu f892a52cad Refact 2013-10-27 19:47:15 +08:00
Jinzhu 09b6fc3ab0 Fix some bugs about Update and Delete 2013-10-26 23:33:04 +08:00
Jinzhu f4f7e44199 yay, update works 2013-10-26 21:37:42 +08:00
Jinzhu 3c68efc94a Support create table with struct 2013-10-26 17:30:34 +08:00
Jinzhu 73cac58998 Move get table name methods to model.go 2013-10-26 16:33:59 +08:00
Jinzhu 5cfad9d35b Add model.go file 2013-10-26 16:29:53 +08:00
Jinzhu e935b4772b Implement method interface to table name 2013-10-26 14:42:14 +08:00
Jinzhu 9ef4a2669c Add some utils methods stolen from hood 2013-10-26 14:25:03 +08:00
Jinzhu fb3da1f963 Add whereSql for orm object 2013-10-26 14:10:47 +08:00
Jinzhu 69f53a4b41 yay, find from db works 2013-10-26 11:48:07 +08:00
Jinzhu c26e10813d quote map for utils 2013-10-26 10:06:57 +08:00
Jinzhu 11758c647f Add some utils 2013-10-26 09:49:40 +08:00
Jinzhu 2d6fa2c96d init files 2013-10-25 18:04:48 +08:00