Module: SqlValues::ActiveRecordClassMethods

Defined in:
lib/sql_values.rb

Instance Method Summary collapse

Instance Method Details

#hashes(names) ⇒ Object



28
29
30
# File 'lib/sql_values.rb', line 28

def hashes(names)
  relation.hashes(names)
end

#ids(name = :id) ⇒ Object



24
25
26
# File 'lib/sql_values.rb', line 24

def ids(name = :id)
  relation.ids(name)
end

#values(name) ⇒ Object



20
21
22
# File 'lib/sql_values.rb', line 20

def values(name)
  relation.values(name)
end