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

database update #369

Closed
FreeManZH opened this issue Jun 14, 2016 · 1 comment
Closed

database update #369

FreeManZH opened this issue Jun 14, 2016 · 1 comment

Comments

@FreeManZH
Copy link

webpy the update function return value is the number of rows changed, but I want when the where conditions do not exist, can return a special value, or throw an exception,how can I do?

@anandology
Copy link
Member

web.py doesn't support anything like that. You'll have to do it yourself by looking at the returned value.

Please use the mailing list or stackoverflow for asking questions and reserve github issues only for bugs and feature requests.

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