class TableSaw::Queries::SerialSequences

Constants

QUERY
SerialSequence

Public Instance Methods

call() click to toggle source
# File lib/table_saw/queries/serial_sequences.rb, line 20
def call
  TableSaw::Connection.exec(QUERY).each_with_object({}) do |row, memo|
    memo[row['table']] = SerialSequence.new(row['sequence'], row['table'], row['column'])
  end
end