View definition

(QuerySeter).ValuesFlat

Defined in github.com/astaxie/beego/orm/types.go

Description

query all data and map to []interface. it's designed for one column record set, auto change to []value, not [][column]value. for example:

var list ParamsList
qs.ValuesFlat(&list, "UserName") // list[0] == "slene"

ValuesFlat is referenced in 2 repositories

github.com/astaxie/beego github.com/beego/wetalk