Commit Graph

11 Commits

Author SHA1 Message Date
Jinzhu cef81cba11 Fill up id after create record 2013-10-26 20:26:06 +08:00
Jinzhu 3c68efc94a Support create table with struct 2013-10-26 17:30:34 +08:00
Jinzhu 5cfad9d35b Add model.go file 2013-10-26 16:29:53 +08:00
Jinzhu 70315e8fed Create table method 2013-10-26 15:47:30 +08:00
Jinzhu 03f7bbfe74 When search one record, should return error when nothing found 2013-10-26 15:02: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 3e7e110590 Can't believe this, Find works! 2013-10-26 12:33:05 +08:00
Jinzhu 0491675ae8 Break find code into sql.go file 2013-10-26 11:59:58 +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