1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-16 02:32:17 +00:00

orm add Exist func

This commit is contained in:
slene
2013-10-12 06:57:14 +08:00
parent 3f91dfbca3
commit 5d55ca19be
2 changed files with 6 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ type QuerySeter interface {
OrderBy(...string) QuerySeter
RelatedSel(...interface{}) QuerySeter
Count() (int64, error)
Exist() bool
Update(Params) (int64, error)
Delete() (int64, error)
PrepareInsert() (Inserter, error)