From b4031e004a7399ce7c4043dbddd31da427a97808 Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Fri, 25 Oct 2013 21:11:29 +0800 Subject: [PATCH] Add two more APIs --- orm.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/orm.go b/orm.go index a9dedfd5..89aa5bee 100644 --- a/orm.go +++ b/orm.go @@ -61,6 +61,14 @@ func (s *Orm) Delete(value interface{}) *Orm { return s } +func (s *Orm) Update(column string, value string) *Orm { + return s +} + +func (s *Orm) Updates(values map[string]string) *Orm { + return s +} + func (s *Orm) Exec(sql string) *Orm { return s }