示例#1
0
文件: result.go 项目: SmarkSeven/db
// Determines the maximum limit of results to be returned.
func (r *result) Limit(n uint) db.Result {
	r.limit = sqlgen.Limit(n)
	return r
}
示例#2
0
文件: result.go 项目: icattlecoder/db
// Determines the maximum limit of results to be returned.
func (self *result) Limit(n uint) db.Result {
	self.limit = sqlgen.Limit(n)
	return self
}