orm.go
func (f *Field) Set(rowIDOrKey, colIDOrKey interface{}) *PQLBaseQuery {
	rowStr, colStr, err := formatRowColIDKey(rowIDOrKey, colIDOrKey)
	if err != nil {
		return NewPQLBaseQuery("", f.index, err)
	}
	text := fmt.Sprintf("Set(%s,%s=%s)", colStr, f.name, rowStr)
	q := NewPQLBaseQuery(text, f.index, nil)
	q.hasKeys = f.options.keys || f.index.options.keys
	return q
}
func (f *Field) Set(rowIDOrKey, colIDOrKey interface{}) *PQLBaseQuery {
	rowStr, colStr, err := formatRowColIDKey(rowIDOrKey, colIDOrKey)
	if err != nil {
		return NewPQLBaseQuery("", f.index, err)
	}
	text := fmt.Sprintf("Set(%s,%s=%s)", colStr, f.name, rowStr)
	q := NewPQLBaseQuery(text, f.index, nil)
	q.hasKeys = f.options.keys || f.index.options.keys
	return q
}
func ( f * Field ) Set ( rowIDOrKey , colIDOrKey interface { } ) * PQLBaseQuery { rowStr , colStr , err := formatRowColIDKey ( rowIDOrKey , colIDOrKey ) if err != nil { return NewPQLBaseQuery ( " " , f . index , err ) } text := fmt . Sprintf ( " " , colStr , f . name , rowStr ) q := NewPQLBaseQuery ( text , f . index , nil ) q . hasKeys = f . options . keys || f . index . options . keys return q }
// Set creates a Set query.
// Set, assigns a value of 1 to a bit in the binary matrix, thus associating the given row in the given field with the given column.
Set creates a Set query . Set assigns a value of 1 to a bit in the binary matrix thus associating the given row in the given field with the given column .