View definition

(QuerySeter).RowsToMap

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

Description

query all rows into map[string]interface with specify key and value column name. keyCol = "name", valueCol = "value" table data name | value total | 100 found | 200 to map[string]interface{}{

"total": 100,
"found": 200,

}

RowsToMap is referenced in 0 repositories