code: func setQueryFieldValues(queries []*queryObj, re *dosa.RegisteredEntity) ([]*queryObj, error) {
  	cts := re.EntityDefinition().ColumnTypes()
  	for _, query := range queries {
  		// convert field name to column name, ColumnNames method will return error if field name not found
  		cols, err := re.ColumnNames([]string{query.fieldName})
  		if err != nil {
  			return nil, err
  		}
  		query.colName = cols[0]
  		if typ, ok := cts[cols[0]]; ok {
  			fv, err := strToFieldValue(typ, query.valueStr)
  			if err != nil {
  				return nil, err
  			}
  			query.value = fv
  		} else {
  			return nil, errors.Errorf("cannot find the type of column %s", cols[0])
  		}
  	}
  	return queries, nil
  }
docs: // setQueryFieldValues sets the value field of queryObj