Skip to content

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

@deeptianand

Description

@deeptianand

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions