Commit Graph

11 Commits

Author SHA1 Message Date
Jinzhu b551fee276 Add callbacks support 2013-10-27 14:51:23 +08:00
Jinzhu 97f234e481 yay, created_at, updated_at works 2013-10-27 14:34:34 +08:00
Jinzhu 334d05645f Add Pluck 2013-10-27 09:32:49 +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 2f4945dc35 Add method PrimaryKeyIsEmpty for model 2013-10-26 20:53:21 +08:00
Jinzhu cef81cba11 Fill up id after create record 2013-10-26 20:26:06 +08:00
Jinzhu a7f62c24b0 yay, support primary key 2013-10-26 17:56:00 +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