orm.go
func (f *Field) RowsLimitColumn(limit int64, columnIDOrKey interface{}) *PQLRowsQuery {
	if limit < 0 {
		return NewPQLRowsQuery("", f.index, errors.New("rows limit must be non-negative"))
	}
	columnIDKey, err := formatIDKey(columnIDOrKey)
	if err != nil {
		return NewPQLRowsQuery("", f.index, err)
	}
	text := fmt.Sprintf("Rows(field='%s',limit=%d,column=%s)", f.name, limit, columnIDKey)
	return NewPQLRowsQuery(text, f.index, nil)
}
func (f *Field) RowsLimitColumn(limit int64, columnIDOrKey interface{}) *PQLRowsQuery {
	if limit < 0 {
		return NewPQLRowsQuery("", f.index, errors.New("rows limit must be non-negative"))
	}
	columnIDKey, err := formatIDKey(columnIDOrKey)
	if err != nil {
		return NewPQLRowsQuery("", f.index, err)
	}
	text := fmt.Sprintf("Rows(field='%s',limit=%d,column=%s)", f.name, limit, columnIDKey)
	return NewPQLRowsQuery(text, f.index, nil)
}
func ( f * Field ) RowsLimitColumn ( limit int64 , columnIDOrKey interface { } ) * PQLRowsQuery { if limit < 0 { return NewPQLRowsQuery ( " " , f . index , errors . New ( " " ) ) } columnIDKey , err := formatIDKey ( columnIDOrKey ) if err != nil { return NewPQLRowsQuery ( " " , f . index , err ) } text := fmt . Sprintf ( " " , f . name , limit , columnIDKey ) return NewPQLRowsQuery ( text , f . index , nil ) }
// RowsLimitColumn creates a Row query with the given limit and column ID/key
RowsLimitColumn creates a Row query with the given limit and column ID / key