Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Return affected resource count from adjust!#3

Open
Zoxc wants to merge 1 commit into
datamapper:masterfrom
Zoxc:master
Open

Return affected resource count from adjust!#3
Zoxc wants to merge 1 commit into
datamapper:masterfrom
Zoxc:master

Conversation

@Zoxc
Copy link
Copy Markdown

@Zoxc Zoxc commented Jul 2, 2011

This changes adjust! to return the affected row count. This is essential when doing transactions since you'd normally want to roll back if nothing was done.

The DataObjects adapter seems to return this value already. I don't know if the other two does this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant