soundcloud / lhm

Online MySQL schema migrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to get the no of records that were updated?

deeptianand opened this issue · comments

I am interested in running a query that will return ROW_COUNT() once the update query has been run.

Lhm.change_table :table_one do |m|
  m.ddl("UPDATE table_one...")
end

One the above is run, is there a way to query for the row_count(to get no of records updated via lhm)?