update docs

This commit is contained in:
slene
2013-08-07 23:35:45 +08:00
parent ad2965bbf9
commit fc528c51a3
3 changed files with 33 additions and 33 deletions

View File

@@ -133,22 +133,22 @@ qs.Filter("profile__isnull", false)
QuerySeter 当前支持的方法
* type QuerySeter interface {
* [Filter(string, ...interface{}) QuerySeter](#Filter)
* [Exclude(string, ...interface{}) QuerySeter](#Exclude)
* [SetCond(*Condition) QuerySeter](#SetCond)
* [Limit(int, ...int64) QuerySeter](#Limit)
* [Offset(int64) QuerySeter](#Offset)
* [OrderBy(...string) QuerySeter](#OrderBy)
* [RelatedSel(...interface{}) QuerySeter](#RelatedSel)
* [Count() (int64, error)](#Count)
* [Update(Params) (int64, error)](#Update)
* [Delete() (int64, error)](#Delete)
* [PrepareInsert() (Inserter, error)](#PrepareInsert)
* [All(interface{}) (int64, error)](#All)
* [One(Modeler) error](#One)
* [Values(*[]Params, ...string) (int64, error)](#Values)
* [ValuesList(*[]ParamsList, ...string) (int64, error)](#ValuesList)
* [ValuesFlat(*ParamsList, string) (int64, error)](#ValuesFlat)
* [Filter(string, ...interface{}) QuerySeter](#filter)
* [Exclude(string, ...interface{}) QuerySeter](#exclude)
* [SetCond(*Condition) QuerySeter](#setcond)
* [Limit(int, ...int64) QuerySeter](#limit)
* [Offset(int64) QuerySeter](#offset)
* [OrderBy(...string) QuerySeter](#orderby)
* [RelatedSel(...interface{}) QuerySeter](#relatedsel)
* [Count() (int64, error)](#count)
* [Update(Params) (int64, error)](#update)
* [Delete() (int64, error)](#delete)
* [PrepareInsert() (Inserter, error)](#prepareinsert)
* [All(interface{}) (int64, error)](#all)
* [One(Modeler) error](#one)
* [Values(*[]Params, ...string) (int64, error)](#values)
* [ValuesList(*[]ParamsList, ...string) (int64, error)](#valueslist)
* [ValuesFlat(*ParamsList, string) (int64, error)](#valuesflat)
* }
每个返回 QuerySeter 的 api 调用时都会新建一个 QuerySeter不影响之前创建的。