func (r *QueryRunner) Select(q string) ([]map[string]interface{}, error) {
	res := make([]map[string]interface{}, 0)
	rows, err := r.db.Queryx(q)
	if err != nil {
		return nil, err
	}
	for rows.Next() {
		row := make(map[string]interface{}, 0)
		if err := rows.MapScan(row); err != nil {
			return nil, err
		}
		res = append(res, row)
	}
	return res, nil
}
// Select selects from table by a SQL query.
Select selects from table by a SQL query.
// Select selects from table by a SQL query .
func (r *QueryRunner) Select(q string) ([]map[string]interface{}, error) {
	res := make([]map[string]interface{}, 0)
	rows, err := r.db.Queryx(q)
	if err != nil {
		return nil, err
	}
	for rows.Next() {
		row := make(map[string]interface{}, 0)
		if err := rows.MapScan(row); err != nil {
			return nil, err
		}
		res = append(res, row)
	}
	return res, nil
}
func ( r * QueryRunner ) Select ( q string ) ( [ ] map [ string ] interface { } , error ) { res := make ( [ ] map [ string ] interface { } , 0 ) rows , err := r . db . Queryx ( q ) if err != nil { return nil , err } for rows . Next ( ) { row := make ( map [ string ] interface { } , 0 ) if err := rows . MapScan ( row ) ; err != nil { return nil , err } res = append ( res , row ) } return res , nil }
Select selects from table by a SQL query.
Select selects from table by a SQL query .