Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
deeptianand opened this issue Oct 17, 2018 · 0 comments
Open

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

deeptianand opened this issue Oct 17, 2018 · 0 comments

Comments

@deeptianand
Copy link

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant