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

how to get number of rows affected when use update or remove_from #540

Closed
Lee123123 opened this issue Nov 4, 2023 · 1 comment
Closed

Comments

@Lee123123
Copy link

No description provided.

@rbock
Copy link
Owner

rbock commented Nov 5, 2023

They are the return values of the update/remove_from execution, e.g.

const auto count = db(update(tab).set(...).where(...));

@rbock rbock closed this as completed Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants