Method: Uuids::Queries::ByUuid#select

Defined in:
app/queries/by_uuid.rb

#selectActiveRecord::Relation

Runs and returns the query

Returns:

  • (ActiveRecord::Relation)

    The updated scope.



46
47
48
# File 'app/queries/by_uuid.rb', line 46

def select
  values.any? ? by_uuid : model.all
end