func (idx *Index) SetColumnAttrs(colIDOrKey interface{}, attrs map[string]interface{}) *PQLBaseQuery {
	colStr, err := formatIDKey(colIDOrKey)
	if err != nil {
		return NewPQLBaseQuery("", idx, err)
	}
	attrsString, err := createAttributesString(attrs)
	if err != nil {
		return NewPQLBaseQuery("", idx, err)
	}
	q := fmt.Sprintf("SetColumnAttrs(%s,%s)", colStr, attrsString)
	return NewPQLBaseQuery(q, idx, nil)
}
func (idx *Index) SetColumnAttrs(colIDOrKey interface{}, attrs map[string]interface{}) *PQLBaseQuery {
	colStr, err := formatIDKey(colIDOrKey)
	if err != nil {
		return NewPQLBaseQuery("", idx, err)
	}
	attrsString, err := createAttributesString(attrs)
	if err != nil {
		return NewPQLBaseQuery("", idx, err)
	}
	q := fmt.Sprintf("SetColumnAttrs(%s,%s)", colStr, attrsString)
	return NewPQLBaseQuery(q, idx, nil)
}
func ( idx * Index ) SetColumnAttrs ( colIDOrKey interface { } , attrs map [ string ] interface { } ) * PQLBaseQuery { colStr , err := formatIDKey ( colIDOrKey ) if err != nil { return NewPQLBaseQuery ( " " , idx , err ) } attrsString , err := createAttributesString ( attrs ) if err != nil { return NewPQLBaseQuery ( " " , idx , err ) } q := fmt . Sprintf ( " " , colStr , attrsString ) return NewPQLBaseQuery ( q , idx , nil ) }
// SetColumnAttrs creates a SetColumnAttrs query.
// SetColumnAttrs associates arbitrary key/value pairs with a column in an index.
// Following types are accepted: integer, float, string and boolean types.
SetColumnAttrs creates a SetColumnAttrs query . SetColumnAttrs associates arbitrary key / value pairs with a column in an index . Following types are accepted : integer float string and boolean types .