Mark this QuerySet as distinguishable. Modify this object (i.e. DISTINCT keyword will be applied to the final SQL query). @return [QuerySet] Reference to this QuerySet.
# File lib/babik/queryset/mixins/distinguishable.rb, line 12defdistinct!@_distinct = trueselfend
undistinct!()click to toggle source
Mark this QuerySet as not distinguishable (i.e. DISTINCT keyword will NOT be applied to query). @return [QuerySet] Reference to this QuerySet.
# File lib/babik/queryset/mixins/distinguishable.rb, line 20defundistinct!@_distinct = falseselfend